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