|
- using SqlSugar;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPA.Model.Table
- {
- public class MaterialTB
- {
- /// <summary>
- /// 数据ID
- /// </summary>
- [SugarColumn(IsPrimaryKey = true,IsIdentity =true)]
- public int ID { get; set; }
- /// <summary>
- /// 物料名称
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// 物料编码
- /// </summary>
- public string MaterialCode { get; set; }
- /// <summary>
- /// 是否激活
- /// </summary>
- public bool IsActive { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [SugarColumn(IsOnlyIgnoreUpdate =true)]
- public string CreateTime { get; set; }
-
- /// <summary>
- /// 最后修改时间
- /// </summary>
- public string LastModified { get; set; }
- /// <summary>
- /// 物料描述
- /// </summary>
- [SugarColumn(IsNullable =true)]
- public string Description { get; set; }
- }
-
- }
|