Files
jinko.yikatong/Src/Dlhis.Entity/Device/Entities/DeviceGroupRelationshipEntity.cs
2024-06-22 18:19:13 +08:00

29 lines
801 B
C#

using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Device.Entities;
/// <summary>
/// 设备组/设备关系
/// </summary>
[SugarTable(TableName = "DeviceGroupRelationship", TableDescription = "设备组/设备关系")]
public class DeviceGroupRelationshipEntity : SugarBaseEntity, ITenantId, ISoftDeleted
{
/// <summary>
/// 设备组code
/// </summary>
[SugarColumn(ColumnDescription = "设备组code")]
public Guid GroupCode { get; set; }
/// <summary>
/// 设备code
/// </summary>
[SugarColumn(ColumnDescription = "设备code")]
public Guid DeviceCode { get; set; }
public string TenantId { get; set; }
/// <inheritdoc />
public bool IsDeleted { get; set; }
}