OutFactoryCreateDto.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using Abp.Application.Services.Dto;
  5. namespace ShwasherSys.BasicInfo.OutFactory.Dto
  6. {
  7. [AutoMapTo(typeof(OutFactory))]
  8. public class OutFactoryCreateDto:EntityDto<string>
  9. {
  10. [Required]
  11. [StringLength(OutFactory.OutFactoryNameMaxLength)]
  12. public string OutFactoryName { get; set; }
  13. [StringLength(OutFactory.LinkManMaxLength)]
  14. public string LinkMan { get; set; }
  15. [StringLength(OutFactory.AddressMaxLength)]
  16. public string Address { get; set; }
  17. [StringLength(OutFactory.WebSiteMaxLength)]
  18. public string WebSite { get; set; }
  19. public DateTime? TimeCreated { get; set; }
  20. public DateTime? TimeLastMod { get; set; }
  21. [StringLength(OutFactory.UserIDLastModMaxLength)]
  22. public string UserIDLastMod { get; set; }
  23. [StringLength(OutFactory.IsLockMaxLength)]
  24. public string IsLock { get; set; }
  25. [StringLength(OutFactory.TelephoneMaxLength)]
  26. public string Telephone { get; set; }
  27. [StringLength(OutFactory.FaxMaxLength)]
  28. public string Fax { get; set; }
  29. [StringLength(OutFactory.ZipMaxLength)]
  30. public string Zip { get; set; }
  31. [StringLength(OutFactory.EmailMaxLength)]
  32. public string Email { get; set; }
  33. }
  34. }