feat 老系统档案上传功能

This commit is contained in:
2024-06-24 11:05:09 +08:00
parent 49201f2e49
commit a783803e2f
7 changed files with 185 additions and 18 deletions

View File

@@ -0,0 +1,45 @@
using Dlhis.Entity.Device.Enums;
using SqlSugar;
using SqlSugar.DbConvert;
namespace Dlhis.Entity.Basic.Entity;
/// <summary>
/// 老系统设备档案
/// </summary>
[SugarTable(TableName = "OldDeviceGainfos", TableDescription = "老系统设备档案")]
public class OldDeviceGainfoEntity
{
[SugarColumn(IsNullable = false, ColumnDescription = "厂区")]
public string Factory { get; set; }
/// <summary>
/// 档案号
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "档案号", IndexGroupNameList = new[] { "unique_OldGainfos_no_code_unique" })]
public string No { get; set; }
/// <summary>
/// 工号
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "工号", IndexGroupNameList = new[] { "unique_OldGainfos_no_code_unique" })]
public string Code { get; set; }
/// <summary>
/// 设备唯一号
/// </summary>
[SugarColumn(IsNullable = false, ColumnDescription = "设备唯一号", IndexGroupNameList = new[] { "unique_OldGainfos_no_code_unique" })]
public string UniqueNo { get; set; }
/// <summary>
/// 处理状态
/// </summary>
[SugarColumn(ColumnDescription = "处理状态", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
public OldDeviceGainfoEnumType Status { get; set; }
/// <summary>
/// 备注说明
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(2000)", ColumnDescription = "备注说明")]
public string Remark { get; set; }
}