35 lines
1011 B
C#
35 lines
1011 B
C#
using Dlhis.Entity.Basic.Enums;
|
|
using Kurisu.AspNetCore.DataAccess.Entity;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 网格人员
|
|
/// </summary>
|
|
[SugarTable(TableName = "WorkGridUsers")]
|
|
public class WorkGridUserEntity : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 网格code
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "网格code")]
|
|
public Guid WorkGridCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 网格人员
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "网格人员")]
|
|
public string UserCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排班类型
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "排班类型", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public WorkGridTimePeriodEnumType? ScheduleType { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public string TenantId { get; set; }
|
|
} |