首检添加数据看板
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using SqlSugar;
|
||||
namespace ZR.Model.mes.md
|
||||
namespace ZR.Model.mes.md
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备
|
||||
@@ -13,55 +9,55 @@ namespace ZR.Model.mes.md
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
||||
public int Id { get; set; }
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 设备编号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="device_code" )]
|
||||
public string DeviceCode { get; set; }
|
||||
[SugarColumn(ColumnName = "device_code")]
|
||||
public string DeviceCode { get; set; }
|
||||
/// <summary>
|
||||
/// 设备名称
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="device_name" )]
|
||||
public string DeviceName { get; set; }
|
||||
[SugarColumn(ColumnName = "device_name")]
|
||||
public string DeviceName { get; set; }
|
||||
/// <summary>
|
||||
/// 设备所属工位id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="fk_workstation_id" )]
|
||||
public int? FkWorkstationId { get; set; }
|
||||
[SugarColumn(ColumnName = "fk_workstation_id")]
|
||||
public int? FkWorkstationId { get; set; }
|
||||
|
||||
[Navigate(NavigateType.OneToOne, nameof(FkWorkstationId))]
|
||||
public MdWorkstation Workstation { get; set; }
|
||||
public MdWorkstation Workstation { get; set; }
|
||||
/// <summary>
|
||||
/// 租户号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="TENANT_ID" )]
|
||||
public string TenantId { get; set; }
|
||||
[SugarColumn(ColumnName = "TENANT_ID")]
|
||||
public string TenantId { get; set; }
|
||||
/// <summary>
|
||||
/// 乐观锁
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="REVISION" )]
|
||||
public int? Revision { get; set; }
|
||||
[SugarColumn(ColumnName = "REVISION")]
|
||||
public int? Revision { get; set; }
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_BY" )]
|
||||
public string CreatedBy { get; set; }
|
||||
[SugarColumn(ColumnName = "CREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_TIME" )]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_BY" )]
|
||||
public string UpdatedBy { get; set; }
|
||||
[SugarColumn(ColumnName = "UPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user