OrderBookStore.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.Auditing;
  9. namespace ShwasherSys.Order
  10. {
  11. [Table("OrderBookStore")]
  12. public class OrderBookStore:FullAuditedEntity<long>
  13. {
  14. public const int ProductNoMaxLength = 30;
  15. public const int StoreLocationNoMaxLength = 32;
  16. public const int ProductBatchNumMaxLength = 32;
  17. public const int CurrentProductStoreHouseNoMaxLength = 32;
  18. public const int CustomerIdMaxLength = 32;
  19. public int OrderItemId { get; set; }
  20. [StringLength(ProductNoMaxLength)]
  21. public string ProductNo { get; set; }
  22. [DecimalPrecision]
  23. public Decimal? QuantityPerPack { get; set; }
  24. //锁定发货的数量
  25. public Decimal? Quantity { get; set; }
  26. [DecimalPrecision]
  27. public Decimal? PackageCount { get; set; }
  28. [StringLength(ProductBatchNumMaxLength)]
  29. public string ProductBatchNum { get; set; }
  30. [StringLength(StoreLocationNoMaxLength)]
  31. public string StoreLocationNo { get; set; }
  32. [StringLength(CurrentProductStoreHouseNoMaxLength)]
  33. public string CurrentProductStoreHouseNo { get; set; }
  34. public int? Status { get; set; }
  35. [StringLength(CustomerIdMaxLength)]
  36. public String CustomerId { get; set; }
  37. }
  38. }