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