首检添加数据看板
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,56 +9,56 @@ 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>
|
||||
/// 线体code
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="line_code" )]
|
||||
public string LineCode { get; set; }
|
||||
[SugarColumn(ColumnName = "line_code")]
|
||||
public string LineCode { get; set; }
|
||||
/// <summary>
|
||||
/// 线体名称
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName="line_name" )]
|
||||
public string LineName { get; set; }
|
||||
[SugarColumn(ColumnName = "line_name")]
|
||||
public string LineName { get; set; }
|
||||
/// <summary>
|
||||
/// fk_工作车间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName= "pk_workshop_id")]
|
||||
public int? FkWorkShopId { get; set; }
|
||||
[SugarColumn(ColumnName = "pk_workshop_id")]
|
||||
public int? FkWorkShopId { get; set; }
|
||||
|
||||
|
||||
[Navigate(NavigateType.OneToOne, nameof(FkWorkShopId))]//一对一 SchoolId是StudentA类里面的
|
||||
public MdWorkshop Workshop { get; set; } //不能赋值只能是null
|
||||
public MdWorkshop Workshop { get; set; } //不能赋值只能是null
|
||||
/// <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