using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using Abp.Domain.Entities.Auditing; namespace ShwasherSys.Order { [Table("OrderBookStore")] public class OrderBookStore:FullAuditedEntity { public const int ProductNoMaxLength = 30; public const int StoreLocationNoMaxLength = 32; public const int ProductBatchNumMaxLength = 32; public const int CurrentProductStoreHouseNoMaxLength = 32; public const int CustomerIdMaxLength = 32; public int OrderItemId { get; set; } [StringLength(ProductNoMaxLength)] public string ProductNo { get; set; } [DecimalPrecision] public Decimal? QuantityPerPack { get; set; } //锁定发货的数量 public Decimal? Quantity { get; set; } [DecimalPrecision] public Decimal? PackageCount { get; set; } [StringLength(ProductBatchNumMaxLength)] public string ProductBatchNum { get; set; } [StringLength(StoreLocationNoMaxLength)] public string StoreLocationNo { get; set; } [StringLength(CurrentProductStoreHouseNoMaxLength)] public string CurrentProductStoreHouseNo { get; set; } public int? Status { get; set; } [StringLength(CustomerIdMaxLength)] public String CustomerId { get; set; } } }