FactoriesUpdateDto.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.BasicInfo;
  6. namespace ShwasherSys.BasicInfo.Factory.Dto
  7. {
  8. [AutoMapTo(typeof(Factories))]
  9. public class FactoriesUpdateDto: EntityDto<string>
  10. {
  11. [Required]
  12. [StringLength(Factories.FactoryNameMaxLength)]
  13. public string FactoryName { get; set; }
  14. [StringLength(Factories.ShortNamesMaxLength)]
  15. public string ShortNames { get; set; }
  16. [StringLength(Factories.RegionIDMaxLength)]
  17. public string RegionID { get; set; }
  18. [StringLength(Factories.FactoryURLMaxLength)]
  19. public string FactoryURL { get; set; }
  20. [StringLength(Factories.AddressMaxLength)]
  21. public string Address { get; set; }
  22. [StringLength(Factories.ZIPMaxLength)]
  23. public string ZIP { get; set; }
  24. [StringLength(Factories.LinkManMaxLength)]
  25. public string LinkMan { get; set; }
  26. [StringLength(Factories.TelephoneMaxLength)]
  27. public string Telephone { get; set; }
  28. [StringLength(Factories.RemarkMaxLength)]
  29. public string Remark { get; set; }
  30. [StringLength(Factories.IsLockMaxLength)]
  31. public string IsLock { get; set; }
  32. }
  33. }