using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 求职信息输入参数 /// public class JobhuntMessageInput : PageInputBase { /// /// 租户Id /// public virtual long TenantId { get; set; } /// /// 求职详情 /// public virtual string PositionInfo { get; set; } /// /// 求职标题 /// public virtual string Title { get; set; } /// /// 求职状态 /// public virtual int Status { get; set; } /// /// 经验 /// public virtual int Experience { get; set; } /// /// 标签 /// public virtual string Tag { get; set; } /// /// 省份 /// public virtual int ProvinceId { get; set; } /// /// 城市 /// public virtual int CityId { get; set; } } public class AddJobhuntMessageInput : JobhuntMessageInput { /// /// 租户Id /// [Required(ErrorMessage = "租户Id不能为空")] public override long TenantId { get; set; } /// /// 求职详情 /// [Required(ErrorMessage = "求职详情不能为空")] public override string PositionInfo { get; set; } /// /// 求职标题 /// [Required(ErrorMessage = "求职标题不能为空")] public override string Title { get; set; } } public class DeleteJobhuntMessageInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateJobhuntMessageInput : JobhuntMessageInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryeJobhuntMessageInput : DeleteJobhuntMessageInput { } }