设备类添加产品字段、添加物模型类,新增产品CRUD方法
This commit is contained in:
@@ -27,6 +27,12 @@ namespace Model.Entity.Config
|
||||
[SugarColumn(ColumnDescription = "设备类型", Length = 64)]
|
||||
public string DeviceType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属产品Id(关联 ProductEntity.Id,仅用于归类,0=未分类)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "所属产品Id", DefaultValue = "0")]
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属网关Code(对应网关实体/通道的标识,连接时据此刻查找 IP/端口/串口)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user