29 lines
751 B
C#
29 lines
751 B
C#
using Kurisu.Core.DataAccess.Entity;
|
|
using Kurisu.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; }
|
|
|
|
public bool IsDeleted { get; set; }
|
|
} |