using Magicodes.ExporterAndImporter.Core; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { [SugarTable(nameof(VV_MesLockInfo), "锁车队列信息")] public class VV_MesLockInfo { /// /// 主键 /// [ImporterHeader(Name = "主键")] [ExporterHeader(DisplayName = "主键")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 1-初始化 2-已下发 /// [SugarColumn(IsNullable = true, ColumnDescription = "拉动状态")] public int LockStatue { get; set; } /// /// 横移机产线 1-4为左侧横移机 4-7为右侧横移机 /// [SugarColumn(IsNullable = true, ColumnDescription = " 横移机产线")] public int TCLine { get; set; } /// /// 创建者 /// [ImporterHeader(Name = "创建者")] [ExporterHeader(DisplayName = "创建者")] [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "创建者")] public string Creater { get; set; } = "Systeam"; /// /// 创建时间 /// [ImporterHeader(Name = "创建时间")] [ExporterHeader(DisplayName = "创建时间")] [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "创建时间")] public DateTime CreateDate { get; set; } //= DateTime.Now; /// /// 更新者 /// [ImporterHeader(Name = "修改人")] [ExporterHeader(DisplayName = "修改人")] [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "修改人")] public string Modifier { get; set; } = "System"; /// /// 修改日期 /// [ImporterHeader(Name = "修改日期")] [ExporterHeader(DisplayName = "修改日期")] [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "修改日期")] public DateTime? ModifyDate { get; set; } //= DateTime.Now; /// /// 顺序号 /// [SugarColumn(IsNullable = true, ColumnDescription = "顺序号")] public int sequenceNo { get; set; } /// /// 车身ID /// [ImporterHeader(Name = "车身ID")] [ExporterHeader(DisplayName = "车身ID")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "车身ID")] public int carBodyID { get; set; } /// /// PVI码 /// [ImporterHeader(Name = "PVI码")] [ExporterHeader(DisplayName = "PVI码")] [SugarColumn(IsNullable = true, ColumnDescription = "PVI码")] public string PVI { get; set; } /// /// 滑橇号 /// [ImporterHeader(Name = "滑橇号")] [ExporterHeader(DisplayName = "滑橇号")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "滑橇号")] public string PalletCode { get; set; } /// /// 车型 /// [ImporterHeader(Name = "车型")] [ExporterHeader(DisplayName = "车型")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "车型")] public string vehicleCharacteristic { get; set; } /// /// 车身类型 1-白 2-彩 3-空撬组 4-空滑橇 /// [ImporterHeader(Name = "车身类型")] [ExporterHeader(DisplayName = "车身类型")] [SugarColumn(IsNullable = true, ColumnDescription = "车身类型")] public int CarType { get; set; } /// /// 订单类型 /// [ImporterHeader(Name = "订单类型")] [ExporterHeader(DisplayName = "订单类型")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "订单类型")] public string workOrderType { get; set; } /// /// 天窗特征 /// [ImporterHeader(Name = "天窗特征")] [ExporterHeader(DisplayName = "天窗特征")] [SugarColumn(IsNullable = true, Length = 40, ColumnDescription = "天窗特征")] public string skylightCharacteristic { get; set; } /// /// 车身颜色 /// [ImporterHeader(Name = "车身颜色")] [ExporterHeader(DisplayName = "车身颜色")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "车身颜色")] public string carBodyCharacteristic { get; set; } /// /// 白车身物料号 /// [ImporterHeader(Name = "白车身物料号")] [ExporterHeader(DisplayName = "白车身物料号")] [SugarColumn(IsNullable = true, Length = 40, ColumnDescription = "白车身物料号")] public string biwMaterialCode { get; set; } /// /// 彩车身物料号 /// [ImporterHeader(Name = "彩车身物料号")] [ExporterHeader(DisplayName = "彩车身物料号")] [SugarColumn(IsNullable = true, Length = 40, ColumnDescription = "彩车身物料号")] public string pbMaterial { get; set; } /// /// 焊装上线时间 /// [ImporterHeader(Name = "焊装上线时间")] [ExporterHeader(DisplayName = "焊装上线时间")] [SugarColumn(IsNullable = true, Length = 40, ColumnDescription = "焊装上线时间")] public DateTime? biwInPassTime { get; set; } /// /// 所属工单(预绑定) /// //[ImporterHeader(Name = "所属工单")] //[ExporterHeader(DisplayName = "所属工单")] //[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "所属工单")] //public string OrderID { get; set; } } }