using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 职位管理输入参数 /// public class PositionInput : PageInputBase { /// /// 职位名称 /// public virtual string PositionName { get; set; } /// /// 职位等级 /// public virtual int PositionLevel { get; set; } /// /// 父级 /// public virtual long ParentID { get; set; } } public class AddPositionInput : PositionInput { } public class DeletePositionInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdatePositionInput : PositionInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryePositionInput : DeletePositionInput { } }