| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- 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.Replenishment
- {
- /// <summary>
- /// 月生产主计划
- /// </summary>
- public class ReplenishmentMonthPlan : BaseEntity
- {
- /// <summary>
- /// 市场
- /// </summary>
- [StringLength(128)]
- [Comment("市场")]
- public string Area { get; set; }
- /// <summary>
- /// 产品线
- /// </summary>
- [StringLength(128)]
- [Comment("产品线")]
- public string ProdLine { get; set; }
- /// <summary>
- /// 产品系列
- /// </summary>
- [StringLength(128)]
- [Comment("产品系列")]
- public string ProdRange { get; set; }
- /// <summary>
- /// 车间线体(产线)
- /// </summary>
- [StringLength(128)]
- [Comment("车间线体(产线) ")]
- public string Line { get; set; }
- /// <summary>
- /// 物料编码
- /// </summary>
- [StringLength(128)]
- [Comment("物料编码")]
- public string ItemNumber { get; set; }
- /// <summary>
- /// 规格型号
- /// </summary>
- [StringLength(128)]
- [Comment("规格型号")]
- public string Model { get; set; }
- /// <summary>
- /// 生命周期
- /// </summary>
- [StringLength(128)]
- [Comment("产品线")]
- public string LifeCycle { get; set; }
- /// <summary>
- /// 语种
- /// </summary>
- [StringLength(128)]
- [Comment("语种")]
- public string Languages { get; set; }
- /// <summary>
- /// 计划年月
- /// </summary>
- [StringLength(7)]
- [Comment("计划年月")]
- public string PlanMonth { get; set; }
- /// <summary>
- /// 计划发货数量
- /// </summary>
- [Precision(18, 5)]
- [Comment("计划发货数量")]
- public decimal PlanShipQty { get; set; }
- /// <summary>
- /// 实际发货数量
- /// </summary>
- [Precision(18, 5)]
- [Comment("实际发货数量")]
- public decimal ActualShipQty { get; set; }
- /// <summary>
- /// 8001库存(灭菌完成检验合格转入的仓库)
- /// </summary>
- [Precision(18, 5)]
- [Comment("8001库存(灭菌完成检验合格转入的仓库)")]
- public decimal Inventory8001 { get; set; }
- /// <summary>
- /// 8000库存(委外灭菌仓)
- /// </summary>
- [Precision(18, 5)]
- [Comment("8000库存(委外灭菌仓)")]
- public decimal Inventory8000 { get; set; }
- /// <summary>
- /// 5008库存(成品线边仓)
- /// </summary>
- [Precision(18, 5)]
- [Comment("5008库存(成品线边仓)")]
- public decimal Inventory5008 { get; set; }
- /// <summary>
- /// 灭菌中数量
- /// </summary>
- [Precision(18, scale: 5)]
- [Comment("灭菌中数量")]
- public decimal DuringSterilizationQty { get; set; }
- /// <summary>
- /// 在制数量
- /// </summary>
- [Precision(18, 5)]
- [Comment("在制数量")]
- public decimal InProductionQty { get; set; }
- /// <summary>
- /// 计划生产数量
- /// </summary>
- [Precision(18, 5)]
- [Comment("计划生产数量")]
- public decimal PlanProductQty { get; set; }
- /// <summary>
- /// 实际生产数量
- /// </summary>
- [Precision(18, 5)]
- [Comment("实际生产数量")]
- public decimal ActualProductQty { get; set; }
-
- /// <summary>
- /// 期初库存
- /// </summary>
- [Precision(18, 5)]
- [Comment("期初库存")]
- public decimal StartStockQty { get; set; }
- /// <summary>
- /// 期末库存
- /// </summary>
- [Precision(18, 5)]
- [Comment("期末库存")]
- public decimal EndStockQty { get; set; }
- /// <summary>
- /// 经济批量
- /// </summary>
- [Precision(18, 5)]
- [Comment("经济批量")]
- public decimal EconomicLotQty { get; set; }
- /// <summary>
- /// 排序编码
- /// </summary>
- [Comment("排序编码")]
- public int OrderNum { get; set; }
- }
- }
|