feat 设备人员上传
This commit is contained in:
26
Src/Dlhis.Entity/Device/Entities/DeviceUserEntity.cs
Normal file
26
Src/Dlhis.Entity/Device/Entities/DeviceUserEntity.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Device.Entities;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "DeviceUsers")]
|
||||
public class DeviceUserEntity : SugarBaseEntity, ISoftDeleted
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备唯一号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, UniqueGroupNameList = new[] { "idx_deviceUsers_deviceUniqueNo" })]
|
||||
public string DeviceUniqueNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
public bool IsDeleted { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user