StoreHouseUpdateDto.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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.StoreHouses.Dto
  7. {
  8. [AutoMapTo(typeof(StoreHouse))]
  9. public class StoreHouseUpdateDto: EntityDto<int>
  10. {
  11. [Required]
  12. [StringLength(StoreHouse.StoreHouseNameMaxLength)]
  13. public string StoreHouseName { get; set; }
  14. [Required]
  15. public int? StoreHouseTypeId { get; set; }
  16. [StringLength(StoreHouse.AddressMaxLength)]
  17. public string Address { get; set; }
  18. [StringLength(StoreHouse.TelMaxLength)]
  19. public string Tel { get; set; }
  20. [StringLength(StoreHouse.FaxMaxLength)]
  21. public string Fax { get; set; }
  22. [StringLength(StoreHouse.ContactManMaxLength)]
  23. public string ContactMan { get; set; }
  24. [StringLength(StoreHouse.RemarkMaxLength)]
  25. public string Remark { get; set; }
  26. /*[StringLength(StoreHouse.IsLockMaxLength)]
  27. public string IsLock { get; set; }
  28. public DateTime? TimeCreated { get; set; }
  29. public DateTime? TimeLastMod { get; set; }
  30. [StringLength(StoreHouse.UserIDLastModMaxLength)]
  31. public string UserIDLastMod { get; set; }
  32. [StringLength(StoreHouse.StoreHouseNoMaxLength)]
  33. public string StoreHouseNo { get; set; }*/
  34. }
  35. }