fix 不再支持老系统档案号

This commit is contained in:
2026-02-03 18:57:12 +08:00
parent 67481931fc
commit f43c2d6c59
6 changed files with 3 additions and 188 deletions

View File

@@ -1,46 +0,0 @@
using Dlhis.Entity.Device.Enums;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
using SqlSugar.DbConvert;
namespace Dlhis.Entity.Basic.Entity;
/// <summary>
/// 老系统设备档案
/// </summary>
[SugarTable(TableName = "OldDeviceGainfos", TableDescription = "老系统设备档案")]
public class OldDeviceGainfoEntity : SugarBaseEntity
{
[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 DeviceUniqueNo { 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; }
}