SettingCreateDto.cs 827 B

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