49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
namespace DoAn.SugarModels
|
|
{
|
|
/// <summary>
|
|
/// 零部件防错
|
|
///</summary>
|
|
[SugarTable("res_seres_assembly_trace_subpart")]
|
|
public class ResGeelyAssemblyTraceSubpart
|
|
{
|
|
/// <summary>
|
|
/// 自增长ID
|
|
///</summary>
|
|
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// assembly_trace_master追溯id
|
|
///</summary>
|
|
[SugarColumn(ColumnName="master_id" )]
|
|
public int MasterId { get; set; }
|
|
/// <summary>
|
|
/// 防错名称
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="name" )]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// 子零件号 result
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName= "result")]
|
|
public string SubPartNo { get; set; }
|
|
/// <summary>
|
|
/// 防错零部件二维码
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="sub_part_sn" )]
|
|
public string SubPartSn { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// 默认值: CURRENT_TIMESTAMP
|
|
///</summary>
|
|
[SugarColumn(ColumnName="create_time" )]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|