EquipmentPropExtend.cs
650 Bytes
using FreeSql.DataAnnotations;
using HHECS.EquipmentModel;
namespace HHECS.RobotTool.Model
{
[Table(Name = nameof(EquipmentProp))]
[Index($"idx_{nameof(EquipmentProp)}_{nameof(EquipmentTypePropTemplateCode)}", $"{nameof(EquipmentTypePropTemplateCode)}", false)]
public class EquipmentPropExtend : EquipmentProp
{
/// <summary>
/// 设备
/// </summary>
public new EquipmentExtend Equipment { get; set; } = null!;
/// <summary>
/// 设备属性模板
/// </summary>
public new EquipmentTypePropTemplateExtend EquipmentTypePropTemplate { get; set; } = null!;
}
}