init 项目代码初始化
This commit is contained in:
38
Src/Dlhis.Entity/Device/Entities/DeviceTemplateEntity.cs
Normal file
38
Src/Dlhis.Entity/Device/Entities/DeviceTemplateEntity.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using Kurisu.Core.DataAccess.Entity;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Device.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 设备配置模板
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "DeviceTemplate", TableDescription = "设备配置模板")]
|
||||
public class DeviceTemplateEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 模板code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板code")]
|
||||
public Guid Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 品牌
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "品牌")]
|
||||
public string Brand { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板名称")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板json
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "模板json")]
|
||||
public string Template { get; set; }
|
||||
|
||||
|
||||
public string TenantId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user