SettingUpdateDto.cs 880 B

123456789101112131415161718192021222324
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.Application.Services.Dto;
  3. using Abp.AutoMapper;
  4. namespace ShwasherSys.BaseSysInfo.Settings.Dto
  5. {
  6. [AutoMapTo(typeof(SysSetting))]
  7. public class SettingUpdateDto : EntityDto<int>
  8. {
  9. [StringLength(SysSetting.SettingNoMaxLength)]
  10. public string SettingNo { get; set; }
  11. [StringLength(SysSetting.SettingNameMaxLength)]
  12. public string SettingName { get; set; }
  13. public int SettingType { get; set; }
  14. [StringLength(SysSetting.CodeMaxLength)]
  15. public string Code { get; set; }
  16. [StringLength(SysSetting.ValueMaxLength)]
  17. public string Value { get; set; }
  18. [StringLength(SysSetting.DesckMaxLength)]
  19. public string Description { get; set; }
  20. [StringLength(SysSetting.RemarkMaxLength)]
  21. public string Remark { get; set; }
  22. }
  23. }