37 lines
1.0 KiB
C#
37 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")]
|
|
public class ResGeelyAssemblyTrace
|
|
{
|
|
/// <summary>
|
|
/// 自增长ID
|
|
///</summary>
|
|
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// prod_assembly_part项目id
|
|
///</summary>
|
|
[SugarColumn(ColumnName="part_id" )]
|
|
public int PartId { get; set; }
|
|
/// <summary>
|
|
/// 总装件追溯码
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName="part_sn" )]
|
|
public string PartSn { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// 默认值: CURRENT_TIMESTAMP
|
|
///</summary>
|
|
[SugarColumn(ColumnName="create_time" )]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|