产品定义
This commit is contained in:
64
ZR.Model/mes/md/MdDevice.cs
Normal file
64
ZR.Model/mes/md/MdDevice.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using SqlSugar;
|
||||
namespace ZR.Model.mes.md
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备
|
||||
///</summary>
|
||||
[SugarTable("md_device")]
|
||||
public class MdDevice
|
||||
{
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )]
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 设备编号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="device_code" )]
|
||||
public string DeviceCode { get; set; }
|
||||
/// <summary>
|
||||
/// 设备名称
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="device_name" )]
|
||||
public string DeviceName { get; set; }
|
||||
/// <summary>
|
||||
/// 设备所属工位id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="fk_workstation_id" )]
|
||||
public int? FkWorkstationId { get; set; }
|
||||
/// <summary>
|
||||
/// 租户号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="TENANT_ID" )]
|
||||
public string TenantId { get; set; }
|
||||
/// <summary>
|
||||
/// 乐观锁
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="REVISION" )]
|
||||
public int? Revision { get; set; }
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_BY" )]
|
||||
public string CreatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="CREATED_TIME" )]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_BY" )]
|
||||
public string UpdatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user