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