EquipmentPropExtend.cs 665 Bytes
using FreeSql.DataAnnotations;
using HHECS.EquipmentModel;

namespace HHECS.DAQHandle.Models
{
    /// <summary>
    /// 设备属性
    /// </summary>
    [Table(Name = "daq_equipment_prop")]
    [Index($"uk_{nameof(EquipmentTypePropTemplateCode)}", $"{nameof(EquipmentTypePropTemplateCode)}", false)]
    public class EquipmentPropExtend : EquipmentProp
    {
        /// <summary>
        /// 设备
        /// </summary>
        public new EquipmentExtend Equipment { get; set; }

        /// <summary>
        /// 设备属性模板
        /// </summary>
        public new EquipmentTypePropTemplateExtend EquipmentTypePropTemplate { get; set; }
    }
}