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(Dt_CarBodyInfo), "车身信息")]
public class Dt_CarBodyInfo : BaseEntity
{
///
/// 主键
///
[ImporterHeader(Name = "主键")]
[ExporterHeader(DisplayName = "主键")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { 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 = 50, ColumnDescription = "焊装工单号")]
public string workOrderNo { get; set; }
///
/// PVI码
///
[ImporterHeader(Name = "PVI码")]
[ExporterHeader(DisplayName = "PVI码")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "PVI码")]
public string PVI { get; set; }
///
/// RFID
///
[ImporterHeader(Name = "RFID")]
[ExporterHeader(DisplayName = "RFID")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "RFID")]
public string RFID { get; set; }
///
/// 车身类型 1-白车身 2-彩车身 3-空撬组
///
[ImporterHeader(Name = "车身类型")]
[ExporterHeader(DisplayName = "车身类型")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "车身类型")]
public int CarType { get; set; }
///
/// 工单类型
///
[ImporterHeader(Name = "工单类型")]
[ExporterHeader(DisplayName = "工单类型")]
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "工单类型")]
public string workOrderType { 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 string vehicleCharacteristic { 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; }
///
/// 车身状态 0-未锁定 1-锁定
///
[ImporterHeader(Name = "车身状态")]
[ExporterHeader(DisplayName = "车身状态")]
[SugarColumn(IsNullable = true, ColumnDescription = "车身状态")]
public int BodyStatus { 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 = 40, ColumnDescription = "描述")]
public string Description { get; set; }
///
/// 涂装工单号
///
[ImporterHeader(Name = "涂装工单号")]
[ExporterHeader(DisplayName = "涂装工单号")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "涂装工单号")]
public string plantingWorkNo { get; set; }
///
/// 总装工单号
///
[ImporterHeader(Name = "总装工单号")]
[ExporterHeader(DisplayName = "总装工单号")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "总装工单号")]
public string assemblyWorrkNo { get; set; }
///
/// VIN码
///
[ImporterHeader(Name = "VIN码")]
[ExporterHeader(DisplayName = "VIN码")]
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "VIN码")]
public string VIN { get; set; }
}
}