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; namespace ShwasherSys.PackageInfo { [Table("PackageApply")] public class PackageApply:Entity { public const int ProductionOrderNoMaxLength = 11; public const int SemiProductNoMaxLength = 32; public const int ProductNoMaxLength = 32; public const int CurrentSemiStoreHouseNoMaxLength = 32; public const int UserIDLastModMaxLength = 20; public const int CreatorUserIdMaxLength = 20; public const int RemarkMaxLength = 150; public const int PackageApplyNoMaxLength = 32; public const int ApplyStatusMaxLength = 1; /// /// 申请流水号 /// [Required] [StringLength(PackageApplyNoMaxLength)] public string PackageApplyNo { get; set; } /// /// 仓库库存信息编号 /// [StringLength(CurrentSemiStoreHouseNoMaxLength)] [Column("CurrentStoreHouseNo")] public string CurrentSemiStoreHouseNo { get; set; } /// /// 流转单编号 /// [Required] [StringLength(ProductionOrderNoMaxLength)] public string ProductionOrderNo { get; set; } /// /// 半成品编号 /// [StringLength(SemiProductNoMaxLength)] public string SemiProductNo { get; set; } /// /// 成品编号 /// [StringLength(ProductNoMaxLength)] public string ProductNo { get; set; } /// /// 申请包装数量 /// [DecimalPrecision] public decimal ApplyQuantity { get; set; } /// /// 实际包装的千件数 /// [DecimalPrecision] public decimal ActualQuantity { get; set; } /// /// 仓库来源 /// public int SourceStore { get; set; } [Required] [StringLength(ApplyStatusMaxLength)] public string ApplyStatus { get; set; } public bool IsClose { get; set; } /// /// 发起申请时间 /// public DateTime? ApplyDate { get; set; } [StringLength(RemarkMaxLength)] public string Remark { get; set; } public DateTime? TimeCreated { get; set; } public DateTime? TimeLastMod { get; set; } [StringLength(CreatorUserIdMaxLength)] public string CreatorUserId { get; set; } [StringLength(UserIDLastModMaxLength)] public string UserIDLastMod { get; set; } /// /// 千件重 /// [DecimalPrecision] public decimal KgWeight { get; set; } } }