using Business.Domain; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.StructuredDB.SaleFcst { /// /// 主生产计划 /// public class ProductionMasterPlan :BaseEntity { /// /// 地区 /// [StringLength(50)] public string Area { get; set; } /// /// 产品线 /// [StringLength(128)] public string ProdLine { get; set; } /// /// 产品系列 /// [StringLength(128)] public string ProdRange { get; set; } /// /// 车间线体 /// [StringLength(128)] public string WorkshopLine { get; set; } /// /// 物料编码 /// [StringLength(128)] public string ItemNumber { get; set; } /// /// 规格型号 /// [StringLength(128)] public string Model { get; set; } /// /// 语种 /// [StringLength(50)] public string Languages { get; set; } /// /// 计划年月 /// [StringLength(128)] public string PlanMonth { get; set; } /// /// 计划发货数量 /// [Precision(18, 5)] public decimal PlanShipQty { get; set; } /// /// 计划生产数量 /// [Precision(18, 5)] public decimal PlanProductQty { get; set; } /// /// 期末库存 /// [Precision(18, 5)] public decimal PlanStockQty { get; set; } /// /// 8001库存 /// [Precision(18, 5)] public decimal Inventory { get; set; } /// /// 8000库存 /// [Precision(18,5)] public decimal Inventory1 { get; set; } /// /// 5008库存 /// public decimal Inventory2 { get; set; } /// /// 灭菌中 /// [Precision(18, 5)] public decimal DuringSterilization { get; set; } /// /// 在制 /// [Precision(18, 5)] public decimal InProduction { get; set; } /// /// 经济批量 /// public decimal EconomicLotSize { get; set; } /// /// 排序 /// public int OrderNum { get; set; } /// /// 生产时长(天) /// [Precision(18, 5)] public decimal? ProductionTime { get; set; } } }