40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using System;
|
|
using Kurisu.Core.DataAccess.Entity;
|
|
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <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 = "品牌", UniqueGroupNameList = new string[] { "idx_DeviceTemplate_brand_name" })]
|
|
public string Brand { get; set; }
|
|
|
|
/// <summary>
|
|
/// 模板名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "型号", UniqueGroupNameList = new string[] { "idx_DeviceTemplate_brand_name" })]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 模板json
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "模板json")]
|
|
public string Template { get; set; }
|
|
|
|
|
|
public string TenantId { get; set; }
|
|
} |