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.

254 lines
9.0 KiB

1 year ago
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using CK.SCP.Models.Attributes;
using CK.SCP.Models.Base;
using CK.SCP.Models.Enums;
using CK.SCP.Models.ExchangeCenterTables;namespace CK.SCP.Models.DataCenterTables
{
[Description("������ϸ������")]
public class TT_PART_DET : TED_BASE,ITaskTable
{
[IsDataGridColum(true, 1)]
[Description("������")]
[StringLength(50)]
public string PartCode { get; set; }
[IsDataGridColum(true, 2)]
[Description("ABC ����")]
[StringLength(50)]
public string AbcClass { get; set; }
[IsDataGridColum(true, 3)]
[Description("���ſ���")]
[StringLength(50)]
public string LotControl { get; set; }
[IsDataGridColum(true, 4)]
[Description("��λ")]
[StringLength(50)]
public string Location { get; set; }
[IsDataGridColum(true, 5)]
[Description("�����")]
[StringLength(50)]
public string LocationType { get; set; }
[IsDataGridColum(true, 6)]
[Description("�Զ���������")]
public bool AutoMaticLotNumbers { get; set; }
[IsDataGridColum(true, 7)]
[Description("ƽ������")]
public int AverageInterval { get; set; }
[IsDataGridColum(true, 8)]
[Description("�����̵�����")]
public int CycleCountInterval { get; set; }
[IsDataGridColum(true, 9)]
[Description("��������")]
public int ShelfLife { get; set; }
[IsDataGridColum(true, 10)]
[Description("�ؼ�����")]
public bool KeyPart { get; set; }
[IsDataGridColum(true, 11)]
[Description("�ɹ������ջ�״̬")]
[StringLength(50)]
public string PoReceiptStatus { get; set; }
[IsDataGridColum(true, 12)]
[Description("����")]
public bool RctPoActive { get; set; }
[IsDataGridColum(true, 13)]
[Description("�ӹ����ջ�״̬")]
[StringLength(50)]
public string WoReceiptStatus { get; set; }
[IsDataGridColum(true, 14)]
[Description("����")]
public bool RctWoActive { get; set; }
[IsDataGridColum(true, 15)]
[Description("�ǿ��涩������")]
[StringLength(50)]
public string MemoOrderType { get; set; }
[IsDataGridColum(true, 16)]
[Description("���ƻ�")]
public bool MasterSchedule { get; set; }
[IsDataGridColum(true, 17)]
[Description("�ƻ�����")]
public bool PlanOrders { get; set; }
[IsDataGridColum(true, 18)]
[Description("ʱ��")]
public int TimeFence { get; set; }
[IsDataGridColum(true, 19)]
[Description("��������")]
[StringLength(50)]
public string OrderPolicy { get; set; }
[IsDataGridColum(true, 20)]
[Description("��������")]
public decimal OrderQuantity { get; set; }
[IsDataGridColum(true, 21)]
[Description("��������")]
public int OrderPeriod { get; set; }
[IsDataGridColum(true, 22)]
[Description("��ȫ������")]
public decimal SafetyStock { get; set; }
[IsDataGridColum(true, 23)]
[Description("��ȫ��ǰ��")]
public decimal SafetyTime { get; set; }
[IsDataGridColum(true, 23)]
[Description("�ٶ�����")]
public decimal ReorderPoint { get; set; }
[IsDataGridColum(true, 25)]
[Description("�ƻ��޸�")]
[StringLength(50)]
public string PlanningRev { get; set; }
[IsDataGridColum(true, 26)]
[Description("����ԭ��")]
public bool IssuePolicy { get; set; }
[IsDataGridColum(true, 27)]
[Description("�ɹ�Ա/�ƻ�Ա")]
[StringLength(50)]
public string BuyerPlanner { get; set; }
[IsDataGridColum(true, 28)]
[Description("��Ӧ��")]
[StringLength(50)]
public string Supplier { get; set; }
[IsDataGridColum(true, 29)]
[Description("�ɹ������ص�")]
[StringLength(50)]
public string PoSite { get; set; }
[IsDataGridColum(true, 30)]
[Description("�ɹ�/����")]
[StringLength(50)]
public string PurMfg { get; set; }
[IsDataGridColum(true, 31)]
[Description("��������")]
[StringLength(50)]
public string ConfigurationType { get; set; }
[IsDataGridColum(true, 32)]
[Description("������λ")]
[StringLength(50)]
public string InspectionLocation { get; set; }
[IsDataGridColum(true, 33)]
[Description("��Ҫ����")]
public bool InspectionRequired { get; set; }
[IsDataGridColum(true, 34)]
[Description("������ǰ��")]
public int InspectionLeadTime { get; set; }
[IsDataGridColum(true, 35)]
[Description("�ۼ���ǰ��")]
public int CumulativeLeadTime { get; set; }
[IsDataGridColum(true, 36)]
[Description("������ǰ��")]
public int ManufacturingLedaTime { get; set; }
[IsDataGridColum(true, 37)]
[Description("�ɹ���ǰ��")]
public int PurchaseLeadTime { get; set; }
[IsDataGridColum(true, 38)]
[Description("ATPʵʩˮƽ")]
[StringLength(50)]
public string AtpEnforcementLevel { get; set; }
[IsDataGridColum(true, 39)]
[Description("ϵ��ATP")]
public bool FamilyATP { get; set; }
[IsDataGridColum(true, 40)]
[Description("ATPˮƽ")]
public int AtpHorizon { get; set; }
[IsDataGridColum(true, 41)]
[Description("��������1")]
[StringLength(50)]
public string RunSeq1 { get; set; }
[IsDataGridColum(true, 42)]
[Description("��������2")]
[StringLength(50)]
public string RunSeq2 { get; set; }
[IsDataGridColum(true, 43)]
[Description("������")]
public bool Phantom { get; set; }
[IsDataGridColum(true, 44)]
[Description("������")]
public decimal MinimumOrder { get; set; }
[IsDataGridColum(true, 45)]
[Description("��������")]
public decimal MaximumOrder { get; set; }
[IsDataGridColum(true, 46)]
[Description("��������")]
public decimal OrderMultiple { get; set; }
[IsDataGridColum(true, 47)]
[Description("���ڲ����Ĺ���")]
public bool OperationBasedYield { get; set; }
[IsDataGridColum(true, 48)]
[Description("������")]
public decimal YieldPercent { get; set; }
[IsDataGridColum(true, 49)]
[Description("����ʱ��")]
[StringLength(50)]
public string RunTime { get; set; }
[IsDataGridColum(true, 50)]
[Description("����ʱ��")]
public decimal SetupTime { get; set; }
[IsDataGridColum(true, 51)]
[Description("EMT����")]
[StringLength(50)]
public string EmtType { get; set; }
[IsDataGridColum(true, 52)]
[Description("EMT���Զ�����")]
public bool AutomaticEmtProcessing { get; set; }
[IsDataGridColum(true, 53)]
[Description("����������")]
[StringLength(50)]
public string NetWorkCode { get; set; }
[IsDataGridColum(true, 54)]
[Description("�������̴���")]
[StringLength(50)]
public string RoutingCode { get; set; }
[IsDataGridColum(true, 55)]
[Description("�����嵥/�䷽����")]
[StringLength(50)]
public string BomFormulaCode { get; set; }
[IsDataGridColum(true, 56)]
[Description("��������")]
[StringLength(50)]
public string ReplenishmentMethod { get; set; }
[IsDataGridColum(true, 57)]
[Description("�Ƿ�������")]
[StringLength(50)]
public string IsMaster { get; set; }
[IsDataGridColum(true, 58)]
[Description("������ɫ")]
[StringLength(50)]
public string PartColor { get; set; }
[Key]
public Guid GUID { get; set; } = Guid.NewGuid();
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[IsDataGridColum(true, 59)]
[Description("������")]
[StringLength(50)]
public string CreateUser { get; set; }
[IsDataGridColum(true, 60)]
[Description("����ʱ��")]
public DateTime CreateTime { get; set; }
[IsDataGridColum(true, 61)]
[Description("��ע")]
public string Remark { get; set; }
[IsDataGridColum(true, 62)]
[Description("��������")]
public Guid TaskID { get; set; }
[IsDataGridColum(true, 63)]
[Description("��������")]
[StringLength(50)]
public string CommandType { get; set; }
[IsDataGridColum(true, 64)]
[Description("����ID")]
public Guid DataID { get; set; }
[Description("��")]
[StringLength(50)]
public string Domain { get; set; }
[Description("�ص�")]
[StringLength(50)]
public string Site { get; set; }
}
}