StoreLocation.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Abp.Domain.Entities;
  9. using Abp.Domain.Entities.Auditing;
  10. namespace ShwasherSys.BasicInfo
  11. {
  12. [Table("StoreHouseLocation")]
  13. public class StoreHouseLocation : FullAuditedEntity<int>
  14. {
  15. public const int StoreLocationNoMaxLength = 32;
  16. public const int StoreAreaCodeMaxLength = 32;
  17. public const int ShelfNumberMaxLength = 50;
  18. public const int ShelfLevelMaxLength = 10;
  19. public const int SequenceNoMaxLength = 10;
  20. public const int RemarkMaxLength = 250;
  21. [StringLength(StoreLocationNoMaxLength)]
  22. public string StoreLocationNo { get; set; }
  23. /// <summary>
  24. /// 库区
  25. /// </summary>
  26. [StringLength(StoreAreaCodeMaxLength)]
  27. public string StoreAreaCode { get; set; }
  28. /// <summary>
  29. /// 货架号
  30. /// </summary>
  31. [StringLength(ShelfNumberMaxLength)]
  32. public string ShelfNumber { get; set; }
  33. /// <summary>
  34. /// 层次
  35. /// </summary>
  36. [StringLength(ShelfLevelMaxLength)]
  37. public string ShelfLevel { get; set; }
  38. /// <summary>
  39. /// 序列号
  40. /// </summary>
  41. [StringLength(SequenceNoMaxLength)]
  42. public string SequenceNo { get; set; }
  43. [StringLength(RemarkMaxLength)]
  44. public string Remark { get; set; }
  45. /// <summary>
  46. /// 仓库ID
  47. /// </summary>
  48. public int? StoreHouseId { get; set; }
  49. }
  50. }