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