FactoriesCreateDto.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using Abp.Domain.Entities;
  5. using ShwasherSys.BasicInfo;
  6. namespace ShwasherSys.BasicInfo.Factory.Dto
  7. {
  8. [AutoMapTo(typeof(Factories))]
  9. public class FactoriesCreateDto:Entity<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. }