namespace Admin.NET.Core.Service; public class PosInput { /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } } public class AddPosInput : SysPos { /// /// 名称 /// [Required(ErrorMessage = "职位名称不能为空")] public override string Name { get; set; } } public class UpdatePosInput : AddPosInput { } public class DeletePosInput : BaseIdInput { }