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.
 
 
 
 
 

99 lines
3.3 KiB

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ChangkeTec.SDMS.Model.Attributes;
using ChangkeTec.SDMS.Model.Base;
using ChangkeTec.SDMS.Model.Enums;
namespace ChangkeTec.SDMS.Model.DataCenterTables
{
[Description("生产线变更表")]
public class TT_LINE : ITaskTable
{
[IsDataGridColum(true, 1)]
[Description("生产线")]
[StringLength(50)]
public string ProductionLine { get; set; }
[IsDataGridColum(true, 2)]
[Description("地点")]
[StringLength(50)]
public string Site { get; set; }
[IsDataGridColum(true, 3)]
[Description("说明")]
[StringLength(50)]
public string Description { get; set; }
[IsDataGridColum(true, 4)]
[Description("件数/小时")]
public decimal UnitsHour { get; set; }
[IsDataGridColum(true, 5)]
[Description("启用运行大小")]
public bool EnableRunSize { get; set; }
[IsDataGridColum(true, 6)]
[Description("项数")]
public decimal NumberOfLines { get; set; }
[IsDataGridColum(true, 7)]
[Description("持续时间缓冲-天")]
public int DurationBuffer { get; set; }
[IsDataGridColum(true, 8)]
[Description("持续时间缓冲时间")]
[StringLength(50)]
public string DurationBufferHMS { get; set; }
[IsDataGridColum(true, 9)]
[Description("设置时间-天")]
public int SetupTime { get; set; }
[IsDataGridColum(true, 10)]
[Description("设置时间")]
[StringLength(50)]
public string SetupTimeHMS { get; set; }
[IsDataGridColum(true, 11)]
[Description("自动固定")]
public bool LnAutofirm { get; set; }
[IsDataGridColum(true, 12)]
[Description("上次自动固定")]
public DateTime LnLastAutofirm { get; set; }
[IsDataGridColum(true, 13)]
[Description("生产调度者ID")]
[StringLength(50)]
public string LnScheduler { get; set; }
[IsDataGridColum(true, 14)]
[Description("期限结束")]
[StringLength(50)]
public string Dtendlit { get; set; }
[IsDataGridColum(true, 15)]
[Description("结束周期号")]
public int EndNumber { get; set; }
[Key]
public Guid GUID { get; set; } = Guid.NewGuid();
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[IsDataGridColum(true, 16)]
[Description("创建人")]
[StringLength(50)]
public string CreateUser { get; set; }
[IsDataGridColum(true, 17)]
[Description("创建时间")]
public DateTime CreateTime { get; set; }
[IsDataGridColum(true, 15)]
[Description("备注")]
public string Remark { get; set; }
[IsDataGridColum(true, 16)]
[Description("任务编号")]
public Guid TaskID { get; set; }
[IsDataGridColum(true, 17)]
[Description("命令类型")]
[StringLength(50)]
public string CommandType { get; set; }
[IsDataGridColum(true, 18)]
[Description("数据ID")]
public Guid DataID { get; set; }
[Description("域")]
[StringLength(50)]
public string Domain { get; set; }
}
}