LAPTOP-NLSJV9RB\91647 2 years ago
parent e3a64f3ab8
commit eeb882a7c8

@ -11,70 +11,73 @@ using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
namespace Khd.Core.Domain.Models namespace Khd.Core.Domain.Models
{ {
[Table("base_plcpoint")] [Table("base_plcpoint")]
public class BasePlcpoint public class BasePlcpoint
{ {
[Key] [Key]
[Column("id")] [Column("id")]
public Guid? id { get; set; } public Guid id { get; set; }
/// <summary> /// <summary>
/// plc点位编码 /// plc点位编码
/// </summary> /// </summary>
[Column("plcpoint_no")] [Column("plcpoint_no")]
public string plcpointNo { get; set; } public string plcpointNo { get; set; }
/// <summary> /// <summary>
/// plc点位编名称 /// plc点位编名称
/// </summary> /// </summary>
[Column("plcpoint_name")] [Column("plcpoint_name")]
public string plcpointName { get; set; } public string plcpointName { get; set; }
/// <summary> /// <summary>
/// 点位长度 /// 点位长度
/// </summary> /// </summary>
[Column("plcpoint_length")] [Column("plcpoint_length")]
public int? plcpointLength { get; set; } public int? plcpointLength { get; set; }
[Column("plcpoint_address")] /// <summary>
/// 点位地址
/// </summary>
[Column("plcpoint_address")]
public string plcpointAddress { get; set; } public string plcpointAddress { get; set; }
/// <summary> /// <summary>
/// 设备id /// 设备id
/// </summary> /// </summary>
[Column("plcpoint_equipment_id")] [Column("equipment_id")]
public Guid? plcpointEquipmentId { get; set; } public Guid equipmentId { get; set; }
/// <summary> /// <summary>
/// 设备编码 /// 设备编码
/// </summary> /// </summary>
[Column("plcpoint_equipment_no")] [Column("equipment_no")]
public string plcpointEquipmentNo { get; set; } public string equipmentNo { get; set; }
/// <summary> /// <summary>
/// 设备名称 /// 设备名称
/// </summary> /// </summary>
[Column("plcpoint_equipment_name")] [Column("equipment_name")]
public string plcpointEquipmentName { get; set; } public string equipmentName { get; set; }
/// <summary> /// <summary>
/// plc点位数据类型 /// plc点位数据类型
/// </summary> /// </summary>
[Column("plcpoint_type")] [Column("plcpoint_type")]
public int? plcpointType { get; set; } public int? plcpointType { get; set; }
/// <summary> /// <summary>
/// 站点id /// 站点id
/// </summary> /// </summary>
[Column("sitenode_id")] [Column("sitenode_id")]
public Guid? sitenodeId { get; set; } public Guid sitenodeId { get; set; }
/// <summary> /// <summary>
/// 楼层 /// 所属楼层
/// </summary> /// </summary>
[Column("floor_no")] [Column("floor_no")]
public int? floorNo { get; set; } public int? floorNo { get; set; }
@ -82,31 +85,31 @@ namespace Khd.Core.Domain.Models
[Column("is_delete")] [Column("is_delete")]
public int? isDelete { get; set; } public int? isDelete { get; set; }
[Column("create_time")] [Column("create_time")]
public DateTime? createTime { get; set; } public DateTime? createTime { get; set; }
[Column("create_id")] [Column("create_id")]
public Guid? createId { get; set; } public Guid createId { get; set; }
[Column("create_by")] [Column("create_by")]
public string createBy { get; set; } public string createBy { get; set; }
[Column("modify_time")] [Column("modify_time")]
public DateTime? modifyTime { get; set; } public DateTime? modifyTime { get; set; }
[Column("modify_id")] [Column("modify_id")]
public Guid? modifyId { get; set; } public Guid modifyId { get; set; }
[Column("modify_by")] [Column("modify_by")]
public string modifyBy { get; set; } public string modifyBy { get; set; }
[Column("definefield3")] [Column("definefield3")]
public string definefield3 { get; set; } public string definefield3 { get; set; }
[Column("definefield1")] [Column("definefield1")]
public string definefield1 { get; set; } public string definefield1 { get; set; }
[Column("definefield2")] [Column("definefield2")]
public string definefield2 { get; set; } public string definefield2 { get; set; }
} }
} }

Loading…
Cancel
Save