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.

132 lines
4.5 KiB

4 years 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.ExchangeCenterTables;namespace CK.SCP.Models.DataCenterTables
{
[Description("���ձ�")]
public class TS_ROUTING : IUpdatableTable, ISoftDelete, IDomainSite
{
[Required(ErrorMessage = "���벻��Ϊ��")]
[Index("IndexRouting", Order = 0, IsUnique = true, IsClustered = false)]
[IsDataGridColum(true, 1)]
[Description("�������̴���")]
[StringLength(50)]
public string RoutingCode { get; set; }
[IsDataGridColum(true, 2)]
[Description("����")]
public int Operation { get; set; }
[IsDataGridColum(true, 3)]
[Description("��ʼ����")]
public DateTime StartDate { get; set; }
[IsDataGridColum(true, 4)]
[Description("��׼����")]
[StringLength(50)]
public string StandardOperration { get; set; }
[IsDataGridColum(true, 5)]
[Description("��������")]
[StringLength(50)]
public string WorkCenter { get; set; }
[IsDataGridColum(true, 6)]
[Description("����")]
[StringLength(50)]
public string Machine { get; set; }
[IsDataGridColum(true, 7)]
[Description("˵��")]
[StringLength(50)]
public string Description { get; set; }
[IsDataGridColum(true, 8)]
[Description("������/����")]
public int MachinesPerOperation { get; set; }
[IsDataGridColum(true, 9)]
[Description("ƽ�мӹ�����")]
public int OverlapUnits { get; set; }
[IsDataGridColum(true, 10)]
[Description("�Ŷ�ʱ��")]
public decimal QueueTime { get; set; }
[IsDataGridColum(true, 11)]
[Description("�ȴ�ʱ��")]
public decimal WaitTime { get; set; }
[IsDataGridColum(true, 12)]
[Description("���ֽ׶εĹ���")]
public bool MilestoneOperation { get; set; }
[IsDataGridColum(true, 13)]
[Description("ת����ǰ��")]
public int SubcontractLt { get; set; }
[IsDataGridColum(true, 14)]
[Description("������Ա")]
public decimal SetupCrew { get; set; }
[IsDataGridColum(true, 15)]
[Description("����ȫ����Ա")]
public decimal RunCrew { get; set; }
[IsDataGridColum(true, 16)]
[Description("����ʱ��")]
public decimal SetupTime { get; set; }
[IsDataGridColum(true, 17)]
[Description("����ʱ��")]
public decimal RunTime { get; set; }
[IsDataGridColum(true, 18)]
[Description("�ƶ�ʱ��")]
public decimal MoveTime { get; set; }
[IsDataGridColum(true, 19)]
[Description("��������")]
public DateTime EndDate { get; set; }
[IsDataGridColum(true, 20)]
[Description("������")]
public decimal YieldPercent { get; set; }
[IsDataGridColum(true, 21)]
[Description("���ߴ���")]
[StringLength(50)]
public string ToolCode { get; set; }
[IsDataGridColum(true, 22)]
[Description("��Ӧ��")]
[StringLength(50)]
public string Supplier { get; set; }
[IsDataGridColum(true, 23)]
[Description("������ֵ")]
public decimal InventoryValue { get; set; }
[IsDataGridColum(true, 24)]
[Description("ת���ɱ�")]
public decimal SubcontractCost { get; set; }
[IsDataGridColum(true, 25)]
[Description("��ע")]
public bool Comments { get; set; }
[Key]
public Guid GUID { get; set; } = Guid.NewGuid();
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[IsDataGridColum(true, 26)]
[Description("������")]
[StringLength(50)]
public string CreateUser { get; set; }
[IsDataGridColum(true, 27)]
[Description("����ʱ��")]
public DateTime CreateTime { get; set; }
[IsDataGridColum(true, 28)]
[Description("��ע")]
public string Remark { get; set; }
[Description("�޸���")]
[StringLength(50)]
public string UpdateUser { get; set; }
[Description("�޸�ʱ��")]
public DateTime? UpdateTime { get; set; }
[Description("��ɾ��")]
public bool IsDeleted { get; set; }
[Description("��")]
[StringLength(50)]
public string Domain { get; set; }
[Description("�ص�")]
[StringLength(50)]
public string Site { get; set; }
}
}