You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
240 lines
6.5 KiB
240 lines
6.5 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using CK.SCP.Models.Base;
|
|
using CK.SCP.Models.Enums;
|
|
|
|
namespace CK.SCP.Models.ExchangeCenterTables
|
|
{
|
|
[Description("零件明细表")]
|
|
public class TES_PART_DET : TED_BASE,ITaskTable
|
|
{
|
|
[Description("零件号")]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[Description("地点")]
|
|
[StringLength(50)]
|
|
public string Site { get; set; }
|
|
|
|
[Description("ABC 分类")]
|
|
[StringLength(50)]
|
|
public string AbcClass { get; set; }
|
|
|
|
[Description("批号控制")]
|
|
[StringLength(50)]
|
|
public string LotControl { get; set; }
|
|
|
|
[Description("库位")]
|
|
[StringLength(50)]
|
|
public string Location { get; set; }
|
|
|
|
[Description("库位类型")]
|
|
[StringLength(50)]
|
|
public string LocationType { get; set; }
|
|
|
|
[Description("自动生成批号")]
|
|
public bool AutoMaticLotNumbers { get; set; }
|
|
|
|
[Description("平均间隔")]
|
|
public int AverageInterval { get; set; }
|
|
|
|
[Description("周期盘点间隔")]
|
|
public int CycleCountInterval { get; set; }
|
|
|
|
[Description("保存期限")]
|
|
public int ShelfLife { get; set; }
|
|
|
|
[Description("关键物料")]
|
|
public bool KeyPart { get; set; }
|
|
|
|
[Description("采购订单收货状态")]
|
|
[StringLength(50)]
|
|
public string PoReceiptStatus { get; set; }
|
|
|
|
[Description("有效的")]
|
|
public bool RctPoActive { get; set; }
|
|
|
|
[Description("加工单收货状态")]
|
|
[StringLength(50)]
|
|
public string WoReceiptStatus { get; set; }
|
|
|
|
[Description("有效的")]
|
|
public bool RctWoActive { get; set; }
|
|
|
|
[Description("非库存订单类型")]
|
|
[StringLength(50)]
|
|
public string MemoOrderType { get; set; }
|
|
|
|
[Description("主计划")]
|
|
public bool MasterSchedule { get; set; }
|
|
|
|
[Description("计划订单")]
|
|
public bool PlanOrders { get; set; }
|
|
|
|
[Description("时界")]
|
|
public int TimeFence { get; set; }
|
|
|
|
[Description("订货方法")]
|
|
[StringLength(50)]
|
|
public string OrderPolicy { get; set; }
|
|
|
|
[Description("订单数量")]
|
|
public decimal OrderQuantity { get; set; }
|
|
|
|
[Description("订货周期")]
|
|
public int OrderPeriod { get; set; }
|
|
|
|
[Description("安全库存量")]
|
|
public decimal SafetyStock { get; set; }
|
|
|
|
[Description("安全提前期")]
|
|
public decimal SafetyTime { get; set; }
|
|
|
|
[Description("再订货点")]
|
|
public decimal ReorderPoint { get; set; }
|
|
|
|
[Description("计划修改")]
|
|
[StringLength(50)]
|
|
public string PlanningRev { get; set; }
|
|
|
|
[Description("发放原则")]
|
|
public bool IssuePolicy { get; set; }
|
|
|
|
[Description("采购员/计划员")]
|
|
[StringLength(50)]
|
|
public string BuyerPlanner { get; set; }
|
|
|
|
[Description("供应商")]
|
|
[StringLength(50)]
|
|
public string Supplier { get; set; }
|
|
|
|
[Description("采购订单地点")]
|
|
[StringLength(50)]
|
|
public string PoSite { get; set; }
|
|
|
|
[Description("采购/制造")]
|
|
[StringLength(50)]
|
|
public string PurMfg { get; set; }
|
|
|
|
[Description("配置类型")]
|
|
[StringLength(50)]
|
|
public string ConfigurationType { get; set; }
|
|
|
|
[Description("检验库位")]
|
|
[StringLength(50)]
|
|
public string InspectionLocation { get; set; }
|
|
|
|
[Description("需要检验")]
|
|
public bool InspectionRequired { get; set; }
|
|
|
|
[Description("检验提前期")]
|
|
public int InspectionLeadTime { get; set; }
|
|
|
|
[Description("累计提前期")]
|
|
public int CumulativeLeadTime { get; set; }
|
|
|
|
[Description("制造提前期")]
|
|
public int ManufacturingLedaTime { get; set; }
|
|
|
|
[Description("采购提前期")]
|
|
public int PurchaseLeadTime { get; set; }
|
|
|
|
[Description("ATP实施水平")]
|
|
[StringLength(50)]
|
|
public string AtpEnforcementLevel { get; set; }
|
|
|
|
[Description("系列ATP")]
|
|
public bool FamilyATP { get; set; }
|
|
|
|
[Description("ATP水平")]
|
|
public int AtpHorizon { get; set; }
|
|
|
|
[Description("运行序号1")]
|
|
[StringLength(50)]
|
|
public string RunSeq1 { get; set; }
|
|
|
|
[Description("运行序号2")]
|
|
[StringLength(50)]
|
|
public string RunSeq2 { get; set; }
|
|
|
|
[Description("虚拟件")]
|
|
public bool Phantom { get; set; }
|
|
|
|
[Description("最小订量")]
|
|
public decimal MinimumOrder { get; set; }
|
|
|
|
[Description("最大订量")]
|
|
public decimal MaximumOrder { get; set; }
|
|
|
|
[Description("订单倍数")]
|
|
public decimal OrderMultiple { get; set; }
|
|
|
|
[Description("基于产量的工序")]
|
|
public bool OperationBasedYield { get; set; }
|
|
|
|
[Description("产出率")]
|
|
public decimal YieldPercent { get; set; }
|
|
|
|
[Description("运行时间")]
|
|
[StringLength(50)]
|
|
public string RunTime { get; set; }
|
|
|
|
[Description("设置时间")]
|
|
public decimal SetupTime { get; set; }
|
|
|
|
[Description("EMT类型")]
|
|
[StringLength(50)]
|
|
public string EmtType { get; set; }
|
|
|
|
[Description("EMT的自动处理")]
|
|
public bool AutomaticEmtProcessing { get; set; }
|
|
|
|
[Description("分销网代码")]
|
|
[StringLength(50)]
|
|
public string NetWorkCode { get; set; }
|
|
|
|
[Description("工艺流程代码")]
|
|
[StringLength(50)]
|
|
public string RoutingCode { get; set; }
|
|
|
|
[Description("物料清单/配方代码")]
|
|
[StringLength(50)]
|
|
public string BomFormulaCode { get; set; }
|
|
|
|
[Description("补货方法")]
|
|
[StringLength(50)]
|
|
public string ReplenishmentMethod { get; set; }
|
|
|
|
[Key]
|
|
public Guid GUID { get; set; } = Guid.NewGuid();
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int UID { get; set; }
|
|
|
|
[Description("创建人")]
|
|
[StringLength(50)]
|
|
public string CreateUser { get; set; }
|
|
|
|
[Description("创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
[Description("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
[Description("任务编号")]
|
|
public Guid TaskID { get; set; }
|
|
|
|
[Description("命令类型")]
|
|
[StringLength(50)]
|
|
public string CommandType { get; set; }
|
|
|
|
public Guid DataID { get; set; }
|
|
|
|
[Description("域")]
|
|
[StringLength(50)]
|
|
public string Domain { get; set; }
|
|
}
|
|
}
|