45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
using Dlhis.Entity.Basic.Enums;
|
|
using Kurisu.Core.DataAccess.Entity;
|
|
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 点位图数据
|
|
/// </summary>
|
|
[SugarTable(TableName = "PointMapDetail", TableDescription = "点位图数据")]
|
|
public class PointMapDetailEntity : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 点位图code
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "点位图code")]
|
|
public Guid PointMapCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据code
|
|
/// </summary>
|
|
public Guid UniqueCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据类型
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "数据类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public PointMapDetailEnumType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// XYZ
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "XYZ")]
|
|
public string Position { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Remark { get; set; }
|
|
|
|
public string TenantId { get; set; }
|
|
}
|