EquipmentTypePropTemplateExtend.cs
961 Bytes
using FreeSql.DataAnnotations;
using HHECS.EquipmentModel;
namespace HHECS.DAQHandle.Models
{
/// <summary>
/// 设备属性模板
/// </summary>
[Table(Name = "daq_equipment_type_prop_template")]
[Index($"uk_{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; }
}
}