41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
|
|
namespace DOAN.Model.MES.material
|
|
{
|
|
/// <summary>
|
|
/// 北泽线边库分类
|
|
/// </summary>
|
|
[SugarTable("material_parts_categories")]
|
|
public class MaterialPartsCategories
|
|
{
|
|
/// <summary>
|
|
/// 分类ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "category_id")]
|
|
public int CategoryId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分类名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "category_name")]
|
|
public string CategoryName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 父级分类ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "parent_category_id")]
|
|
public int? ParentCategoryId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "created_at")]
|
|
public DateTime? CreatedAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "updated_at")]
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
|
}
|
|
} |