You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
986 B
40 lines
986 B
2 years ago
|
namespace Cis.Application.Cb;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 相机节点表
|
||
|
/// </summary>
|
||
|
[SugarTable(CbInfo.CbCameraNodeTbName, CbInfo.CbCameraNodeTbDesc)]
|
||
|
[Tenant(CbInfo.DbName)]
|
||
|
public class CbCameraNode : EntityBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 组标识
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "组标识")]
|
||
|
public bool IsGroup { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 名称
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "名称", Length = 64)]
|
||
|
[Required, MaxLength(64)]
|
||
|
public string Name { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 相机 Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "相机Id")]
|
||
|
public long CbCameraId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 父节点 Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "父节点Id")]
|
||
|
public long ParentId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 子节点列表
|
||
|
/// </summary>
|
||
|
[SugarColumn(IsIgnore = true)]
|
||
|
public List<CbCameraNode> Child { get; set; }
|
||
|
}
|