using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace Magic.Application { /// /// 求职列表输入参数 /// public class JobHuntInput : PageInputBase { /// /// 职业名称 /// public virtual string Career { get; set; } /// /// 个人简介 /// public virtual string Info { get; set; } /// /// 期望工作地点 /// public virtual string Address { get; set; } /// /// 标志 /// public virtual string Tags { get; set; } /// /// 电话 /// public virtual string phone { get; set; } /// /// 头像 /// public virtual string Logo { get; set; } } public class AddJobHuntInput : JobHuntInput { /// /// 职业名称 /// [Required(ErrorMessage = "职业名称不能为空")] public override string Career { get; set; } /// /// 个人简介 /// [Required(ErrorMessage = "个人简介不能为空")] public override string Info { get; set; } /// /// 期望工作地点 /// [Required(ErrorMessage = "期望工作地点不能为空")] public override string Address { get; set; } /// /// 标志 /// [Required(ErrorMessage = "标志不能为空")] public override string Tags { get; set; } /// /// 电话 /// [Required(ErrorMessage = "电话不能为空")] public override string phone { get; set; } /// /// 头像 /// [Required(ErrorMessage = "头像不能为空")] public override string Logo { get; set; } } public class DeleteJobHuntInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateJobHuntInput : JobHuntInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryeJobHuntInput : DeleteJobHuntInput { } }