58 lines
1.7 KiB
C#
58 lines
1.7 KiB
C#
using JinYuan.Models.HelperAttribute;
|
|||
|
|
using SqlSugar;
|
||
|
|
|
||
|
|
namespace JinYuan.Models
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 电芯满箱出站
|
||
|
|
/// </summary>
|
||
|
|
public class BatteryEntity
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 电芯条码
|
||
|
|
/// </summary>
|
||
|
|
//[SugarColumn(IsIgnore = true)] //不存储到数据库
|
||
|
|
[SugarColumn(IsPrimaryKey = true)]
|
||
|
|
[DataGridViewColumn(Name = "identification")]
|
||
|
|
public string identification { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 电芯条码位置
|
||
|
|
/// </summary>
|
||
|
|
//[SugarColumn(IsPrimaryKey = true)]
|
||
|
|
[DataGridViewColumn(Name = "location")]
|
||
|
|
public string location { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 电芯等级
|
||
|
|
/// </summary>
|
||
|
|
[DataGridViewColumn(Name = "grade")]
|
||
|
|
public string grade { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 卡板码(箱唛号)
|
||
|
|
/// </summary>
|
||
|
|
[DataGridViewColumn(Name = "containerCode")]
|
||
|
|
public string containerCode { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 条码是否已成功绑定该卡板
|
||
|
|
/// </summary>
|
||
|
|
[DataGridViewColumn(Name = "packResult")]
|
||
|
|
public bool packResult { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 条码绑定失败原因
|
||
|
|
/// </summary>
|
||
|
|
[DataGridViewColumn(Name = "packFalseReason")]
|
||
|
|
public string packFalseReason { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 条码绑定时间
|
||
|
|
/// </summary>
|
||
|
|
[DataGridViewColumn(Name = "packTime")]
|
||
|
|
public string packTime { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 出站类型
|
||
|
|
/// </summary>
|
||
|
|
//[DataGridViewColumn(Name = "outStationType")]
|
||
|
|
public int outStationType { get; set; }
|
||
|
|
}
|
||
|
|
}
|