EquipmentTypePropTemplateExtend.cs
932 Bytes
using FreeSql.DataAnnotations;
using HHECS.EquipmentModel;
namespace HHECS.DAQClient.Model
{
[Table(Name = nameof(EquipmentTypePropTemplate))]
[Index($"idx_{nameof(EquipmentTypePropTemplate)}_{nameof(Code)}", $"{nameof(Code)}", false)]
public class EquipmentTypePropTemplateExtend : EquipmentTypePropTemplate
{
/// <summary>
/// 设备类型
/// </summary>
public new EquipmentTypeExtend EquipmentType { get; set; }
/// <summary>
/// 监控地址、常规地址、自身属性
/// </summary>
[Column(DbType = "varchar(50)", MapType = typeof(string))]
public new EquipmentPropType PropType { get; set; }
/// <summary>
/// 监控地址、常规地址、自身属性
/// </summary>
[Column(DbType = "varchar(50)", MapType = typeof(string))]
public new EquipmentDataType DataType { get; set; }
}
}