base_equipment_prop.cs 2.12 KB
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hh.Mes.POJO.Entity
{
    public partial class base_equipment_prop : base_Entity
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 设备
        /// </summary>
        public int equipmentId { get; set; }

        /// <summary>
        /// 设备模板ID
        /// </summary>
        public int? equipmentTypeTemplateId { get; set; }

        /// <summary>
        /// 设备模板代号
        /// </summary>
        public string equipmentTypeTemplateCode { get; set; }

        /// <summary>
        /// 服务器句柄
        /// </summary>
        public int serverHandle { get; set; }

        /// <summary>
        /// plc地址值
        /// </summary>
        public string address { get; set; }

        /// <summary>
        /// plc的数据值
        /// </summary>
        public string value { get; set; }

        /// <summary>
        /// 是否写入成功
        /// </summary>
        public int? plcFlag { get; set; }

        /// <summary>
        /// 是否需要写入
        /// </summary>
        public bool? writeFlag { get; set; }

        /// <summary>
        /// 待写值
        /// </summary>
        public string writeValue { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 建立时间
        /// </summary>
        public DateTime? createTime { get; set; }

        /// <summary>
        /// 建立者
        /// </summary>
        public string createBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string updateBy { get; set; }

        [SugarColumn(IsIgnore = true)]
        public base_equipment_type_template EquipmentTypePropTemplate { get; set; }


        [SugarColumn(IsIgnore = true)] 
        public base_equipment Equipment { get; set; }
    }
}