BaseEquipmentGroup.cs
1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using Hh.Mes.POJO.Entity;
using SqlSugar;
using System.Collections.Generic;
namespace Hh.Mes.POJO.WebEntity
{
[SugarTable("base_equipment_group")]
public class BaseEquipmentGroup : base_Entity
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
/// <summary>
/// 节点路径
/// </summary>
public string path { get; set; }
/// <summary>
/// 组编号
/// </summary>
public string code { get; set; }
/// <summary>
/// 组名称
/// </summary>
public string name { get; set; }
/// <summary>
/// 父节点Id
/// </summary>
public int? parentId { get; set; }
/// <summary>
/// 父节点名称
/// </summary>
[SugarColumn(IsIgnore = true)]
public string parentName { get; set; }
/// <summary>
/// 备注
/// </summary>
public string remark { get; set; }
[SugarColumn(IsIgnore = true)]
public List<BaseEquipmentGroup> children { get; set; } = new List<BaseEquipmentGroup>();
}
}