using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 附件管理输入参数 /// public class AnnexInput : PageInputBase { /// /// 文件名 /// public virtual long Id { get; set; } /// /// 文件名 /// public virtual string FileName { get; set; } /// /// 文件大小 /// public virtual string FileSize { get; set; } /// /// 文件路径 /// public virtual string FileUrl { get; set; } } public class AddAnnexInput : AnnexInput { } public class DeleteAnnexInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateAnnexInput : AnnexInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryeAnnexInput : DeleteAnnexInput { } }