50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WCS.BLL.DbModels
|
|
{
|
|
///<summary>
|
|
///物料信息表
|
|
///</summary>
|
|
[SugarTable("wcs_mat_info_log")]
|
|
public class MatInfoLog
|
|
{
|
|
/// <summary>
|
|
/// 主键 Id 自增
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsNullable = false, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "mat_Sn", Length = 200, IsNullable = false, ColumnDescription = "物料唯一码")]
|
|
public string MatSn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新信息
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "info", Length = 200, IsNullable = false, ColumnDescription = "更新信息")]
|
|
public string Info { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料数量
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "mat_qty", IsNullable = false, ColumnDescription = "物料数量")]
|
|
public int MatQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:更新时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "modify_time", IsNullable = true, ColumnDescription = "更新时间")]
|
|
public DateTime? ModifyTime { get; set; } = DateTime.Now;
|
|
|
|
}
|
|
}
|