StoreHouseCreateDto.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. using ShwasherSys.BasicInfo;
  5. namespace ShwasherSys.BasicInfo.StoreHouses.Dto
  6. {
  7. [AutoMapTo(typeof(StoreHouse))]
  8. public class StoreHouseCreateDto
  9. {
  10. [Required]
  11. [StringLength(StoreHouse.StoreHouseNameMaxLength)]
  12. public string StoreHouseName { get; set; }
  13. public int? StoreHouseTypeId { get; set; }
  14. [StringLength(StoreHouse.AddressMaxLength)]
  15. public string Address { get; set; }
  16. [StringLength(StoreHouse.TelMaxLength)]
  17. public string Tel { get; set; }
  18. [StringLength(StoreHouse.FaxMaxLength)]
  19. public string Fax { get; set; }
  20. [StringLength(StoreHouse.ContactManMaxLength)]
  21. public string ContactMan { get; set; }
  22. [StringLength(StoreHouse.RemarkMaxLength)]
  23. public string Remark { get; set; }
  24. [StringLength(StoreHouse.IsLockMaxLength)]
  25. public string IsLock { get; set; }
  26. public DateTime? TimeCreated { get; set; }
  27. public DateTime? TimeLastMod { get; set; }
  28. [StringLength(StoreHouse.UserIDLastModMaxLength)]
  29. public string UserIDLastMod { get; set; }
  30. [StringLength(StoreHouse.StoreHouseNoMaxLength)]
  31. public string StoreHouseNo { get; set; }
  32. }
  33. }