38 lines
746 B
C#
38 lines
746 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Admin.NET.Core.Service;
|
|
public class FackUniversityDto
|
|
{
|
|
[JsonConverter(typeof(ObjectIdConverter))]
|
|
public ObjectId _id { get; set; }
|
|
|
|
public int type { get; set; }
|
|
|
|
public string universityName { get; set; }
|
|
public string locationName { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class FackUniversityRequestDto
|
|
{
|
|
/// <summary>
|
|
/// 学校模糊搜索
|
|
/// </summary>
|
|
public string keyword { get; set; }
|
|
|
|
/// <summary>
|
|
/// 省份名称
|
|
/// </summary>
|
|
public string provinceName { get; set; }
|
|
|
|
}
|