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_CarBody), "车身信息")]
|
public class Dt_CarBody : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[ImporterHeader(Name = "主键")]
|
[ExporterHeader(DisplayName = "主键")]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
|
/// <summary>
|
/// PVI码
|
/// </summary>
|
[ImporterHeader(Name = "PVI码")]
|
[ExporterHeader(DisplayName = "PVI码")]
|
[SugarColumn(IsNullable = true, ColumnDescription = "PVI码")]
|
public string PVI { get; set; }
|
|
/// <summary>
|
/// 滑橇号
|
/// </summary>
|
[ImporterHeader(Name = "滑橇号")]
|
[ExporterHeader(DisplayName = "滑橇号")]
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "滑橇号")]
|
public string PalletCode { get; set; }
|
|
/// <summary>
|
/// 车身类型
|
/// </summary>
|
[ImporterHeader(Name = "车身类型")]
|
[ExporterHeader(DisplayName = "车身类型")]
|
[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "车身类型")]
|
public int CarType { get; set; }
|
|
/// <summary>
|
/// 车身状态
|
/// </summary>
|
[ImporterHeader(Name = "车身状态")]
|
[ExporterHeader(DisplayName = "车身状态")]
|
[SugarColumn(IsNullable = true, Length = 40, ColumnDescription = "车身状态")]
|
public string BodyStatus { get; set; }
|
|
/// <summary>
|
/// 描述
|
/// </summary>
|
[ImporterHeader(Name = "描述")]
|
[ExporterHeader(DisplayName = "描述")]
|
[SugarColumn(IsNullable = true, Length = 40, ColumnDescription = "描述")]
|
public string Description { get; set; }
|
}
|
}
|