using Furion.DataValidation; using GDZZ.Application.Enum; using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 小程序招聘列表输入参数 /// public class MiniResumeInput : PageInputBase { public long CompanyID { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 要求 /// public string Sak { get; set; } /// /// 详情 /// public string Info { get; set; } /// /// 地区名 /// public string RegionName { get; set; } /// /// 地区ID /// public string RegionStrID { get; set; } /// /// 经验 /// public string Level { get; set; } /// /// 学历 /// public string Record { get; set; } /// /// 公司名称 /// public string CompanyName { get; set; } /// /// 待遇 /// public string Salary { get; set; } /// /// 待遇 /// public string SalaryID { get; set; } /// /// 状态 /// public ResumeStatusEnum Status { get; set; } /// /// 招聘类型 /// [DataValidation(AllowNullValue = true)] public ResumeTypeEnum? TypeEnum { get; set; } } public class AddMiniResumeInput : MiniResumeInput { } public class DeleteMiniResumeInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateMiniResumeInput : MiniResumeInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryeMiniResumeInput : DeleteMiniResumeInput { } }