41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using SqlSugar;
|
|||
|
|
|
|||
|
|
namespace DoAn.SugarModels
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 防护壳更换对应表
|
|||
|
|
///</summary>
|
|||
|
|
[SugarTable("res_seres_assembly_trace_log")]
|
|||
|
|
class resSeresAssemblyTraceLog
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 自增长ID
|
|||
|
|
///</summary>
|
|||
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 之前追溯码对应零件ID
|
|||
|
|
/// 默认值:
|
|||
|
|
///</summary>
|
|||
|
|
[SugarColumn(ColumnName = "trace_id_old")]
|
|||
|
|
public int TraceIdOld { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 新标签的追溯码
|
|||
|
|
///</summary>
|
|||
|
|
[SugarColumn(ColumnName = "trace_id")]
|
|||
|
|
public int TraceId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// 默认值: CURRENT_TIMESTAMP
|
|||
|
|
///</summary>
|
|||
|
|
[SugarColumn(ColumnName = "create_time")]
|
|||
|
|
public DateTime CreateTime { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|