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.
109 lines
2.8 KiB
109 lines
2.8 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_LINE_PART : TED_BASE,ITaskTable
|
|
{
|
|
[Description("物料号")]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[Description("生产线")]
|
|
[StringLength(50)]
|
|
public string ProductionLine { get; set; }
|
|
|
|
[Description("地点")]
|
|
[StringLength(50)]
|
|
public string Site { get; set; }
|
|
|
|
[Description("开始日期")]
|
|
public DateTime StartDate { get; set; }
|
|
|
|
[Description("件数/小时")]
|
|
public decimal UnitsHour { get; set; }
|
|
|
|
[Description("项数")]
|
|
public decimal NumberOfLines { get; set; }
|
|
|
|
[Description("设置时间-天")]
|
|
public int SetupTime { get; set; }
|
|
|
|
[Description("设置时间")]
|
|
[StringLength(50)]
|
|
public string SetupTimeHMS { get; set; }
|
|
|
|
[Description("主生产线")]
|
|
public bool PrimaryLine { get; set; }
|
|
|
|
[Description("设置人员")]
|
|
public decimal SetupCrew { get; set; }
|
|
|
|
[Description("大小")]
|
|
public int SetSize { get; set; }
|
|
|
|
[Description("操作全体成员")]
|
|
public decimal RunCrew { get; set; }
|
|
|
|
[Description("大小")]
|
|
public int RunSize { get; set; }
|
|
|
|
[Description("物料清单代码")]
|
|
[StringLength(50)]
|
|
public string BomCode { get; set; }
|
|
|
|
[Description("工艺流程")]
|
|
[StringLength(50)]
|
|
public string Routing { get; set; }
|
|
|
|
[Description("工具ID")]
|
|
[StringLength(50)]
|
|
public string ToolId { get; set; }
|
|
|
|
[Description("运行顺序1")]
|
|
[StringLength(50)]
|
|
public string RunSequence1 { get; set; }
|
|
|
|
[Description("运行顺序2")]
|
|
[StringLength(50)]
|
|
public string RunSequence2 { get; set; }
|
|
|
|
[Description("备注")]
|
|
public bool Comments { 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; }
|
|
}
|
|
}
|