| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- 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 ReplenishmentWeekPlan : BaseEntity
- {
- /// <summary>
- /// 排序编码(优先级)
- /// </summary>
- [Comment("排序编码(优先级)")]
- [Precision(18,5)]
- public decimal Priority { get; set; }
- /// <summary>
- /// 市场
- /// </summary>
- [StringLength(128)]
- [Comment("市场")]
- public string Area { get; set; }
- /// <summary>
- /// 开工日期
- /// </summary>
- [Comment("开工日期")]
- public DateTime PlanStartDate { get; set; }
- /// <summary>
- /// 开工日期星期
- /// </summary>
- [StringLength(128)]
- [Comment("开工日期星期")]
- public string Week { get; set; }
- /// <summary>
- /// 订单号
- /// </summary>
- [StringLength(128)]
- [Comment("订单号")]
- public string OrderNO { get; set; }
- /// <summary>
- /// 生产指令
- /// </summary>
- [StringLength(128)]
- [Comment("生产指令")]
- public string ProductionOrder { get; set; }
- /// <summary>
- /// SAP工单号
- /// </summary>
- [StringLength(128)]
- [Comment("SAP工单号")]
- public string SAPOrderNO { get; set; }
- /// <summary>
- /// 指令类型
- /// </summary>
- [StringLength(128)]
- [Comment("指令类型")]
- public string OrderType { get; set; }
- /// <summary>
- /// 生产批次
- /// </summary>
- [StringLength(128)]
- [Comment("生产批次")]
- public string ProductionBatch { get; set; }
- /// <summary>
- /// 生产状态
- /// </summary>
- [StringLength(128)]
- [Comment("生产状态")]
- public string ProductionStatus { 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 Languages { get; set; }
- /// <summary>
- /// 计划数量
- /// </summary>
- [Precision(18,5)]
- [Comment("计划数量")]
- public decimal Qty { get; set; }
- /// <summary>
- /// 物料情况
- /// </summary>
- [StringLength(128)]
- [Comment("物料情况")]
- public string ItemStatus { get; set; }
- /// <summary>
- /// 预计齐套时间
- /// </summary>
- [Precision(18, 5)]
- [Comment("预计齐套时间")]
- public DateTime PlanKittingDate { get; set; }
- /// <summary>
- /// 灭菌开始日期
- /// </summary>
- [Precision(18, 5)]
- [Comment("灭菌开始日期")]
- public DateTime SterilizationDate { get; set; }
- /// <summary>
- /// 成品入库日期
- /// </summary>
- [Precision(18, 5)]
- [Comment("成品入库日期")]
- public DateTime InStockDate { get; set; }
- /// <summary>
- /// 组装工时
- /// </summary>
- [Precision(18, 5)]
- [Comment("组装工时")]
- public decimal AssembleHours { get; set; }
- /// <summary>
- /// 热封工时
- /// </summary>
- [Precision(18, 5)]
- [Comment("热封工时")]
- public decimal HeatSealHours { get; set; }
- /// <summary>
- /// 包装工时
- /// </summary>
- [Precision(18, 5)]
- [Comment("包装工时")]
- public decimal PackageHours { get; set; }
- /// <summary>
- /// 总工时
- /// </summary>
- [Precision(18, 5)]
- [Comment("包装工时")]
- public decimal TotalHours { get; set; }
- }
- }
|