using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 业务配置输入参数 /// public class ServiceConfigInput : PageInputBase { /// /// 配置名称 /// public virtual string Name { get; set; } /// /// 配置值 /// public virtual string Value { get; set; } } public class AddServiceConfigInput : ServiceConfigInput { } public class DeleteServiceConfigInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateServiceConfigInput : ServiceConfigInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryeServiceConfigInput : DeleteServiceConfigInput { } }