using Magicodes.ExporterAndImporter.Core;
using Org.BouncyCastle.Crypto.Utilities;
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
{
public class Dt_MESLockInfo : BaseEntity
{
///
/// 主键
///
[ImporterHeader(Name = "主键")]
[ExporterHeader(DisplayName = "主键")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 车身ID
///
[ImporterHeader(Name = "车身ID")]
[ExporterHeader(DisplayName = "车身ID")]
[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "车身ID")]
public int carBodyID { get; set; }
///
/// 车身对象
///
[Navigate(NavigateType.OneToOne, nameof(carBodyID), nameof(Dt_CarBodyInfo.Id))]
public Dt_CarBodyInfo CarBodyInfo { get; set; }
///
/// 状态 0-未下发任务 1-已下发任务
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "状态")]
public int LockStatue { get; set; }
///
/// 所属横移机产线
///
public string TCLine { get; set; }
///
/// 顺序号
///
public int sequenceNo { get; set; }
/////
///// 库位
/////
//[ImporterHeader(Name = "库位")]
//[ExporterHeader(DisplayName = "库位")]
//[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "库位")]
//public int locaitonCode { get; set; }
/////
///// PVI
/////
//[ImporterHeader(Name = "PVI")]
//[ExporterHeader(DisplayName = "PVI")]
//[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "PVI")]
//public int PVI { get; set; }
}
}