43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
namespace DoAn.SugarModels
|
|
{
|
|
/// <summary>
|
|
/// 数值型防错
|
|
///</summary>
|
|
[SugarTable("res_seres_assembly_trace_master")]
|
|
public class ResGeelyAssemblyTraceMaster
|
|
{
|
|
/// <summary>
|
|
/// 自增长ID
|
|
///</summary>
|
|
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
|
public int Id { get; set; }
|
|
/// <summary>
|
|
/// assembly_trace追溯id
|
|
///</summary>
|
|
[SugarColumn(ColumnName="trace_id" )]
|
|
public int TraceId { get; set; }
|
|
/// <summary>
|
|
///
|
|
/// 默认值: OP00
|
|
///</summary>
|
|
[SugarColumn(ColumnName="station" )]
|
|
public string Station { get; set; }
|
|
/// <summary>
|
|
/// 是否返工 是为1 否为0
|
|
/// 默认值: 0
|
|
///</summary>
|
|
[SugarColumn(ColumnName="is_rework" )]
|
|
public byte IsRework { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// 默认值: CURRENT_TIMESTAMP
|
|
///</summary>
|
|
[SugarColumn(ColumnName="create_time" )]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|