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_StockInfo), "库存信息")] public class VV_StockInfo { /// /// 主键 /// [ImporterHeader(Name = "主键")] [ExporterHeader(DisplayName = "主键")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 所属巷道 /// [ImporterHeader(Name = "所属巷道")] [ExporterHeader(DisplayName = "所属巷道")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "所属巷道")] public string RoadwayNo { get; set; } /// /// 货位编号 /// [ImporterHeader(Name = "货位编号")] [ExporterHeader(DisplayName = "货位编号")] [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "货位编号")] public string LocationCode { 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-空滑橇 /// [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; } /// /// 锁定状态 0-未锁定 1-锁定 /// [ImporterHeader(Name = "锁定状态")] [ExporterHeader(DisplayName = "锁定状态")] [SugarColumn(IsNullable = true, ColumnDescription = "锁定状态")] public int StockStatus { get; set; } /// /// 拉动锁定 0-未拉动 1-拉动 /// [ImporterHeader(Name = "拉动锁定")] [ExporterHeader(DisplayName = "拉动锁定")] [SugarColumn(IsNullable = true, ColumnDescription = "拉动锁定")] public int LockOrder { get; set; } /// /// 任务状态 0-无任务 1-任务中 /// [ImporterHeader(Name = "任务状态")] [ExporterHeader(DisplayName = "任务状态")] [SugarColumn(IsNullable = true, ColumnDescription = "任务状态")] public int TaskStatus { get; set; } /// /// 保留状态 /// [ImporterHeader(Name = "保留状态")] [ExporterHeader(DisplayName = "保留状态")] [SugarColumn(IsNullable = true, ColumnDescription = "保留状态")] public int StayStatus { get; set; } /// /// 所属工单(预绑定) /// //[ImporterHeader(Name = "所属工单")] //[ExporterHeader(DisplayName = "所属工单")] //[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "所属工单")] //public string OrderID { 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; } }