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;
///
/// 网格人员
///
[SugarTable(TableName = "WorkGridUsers")]
public class WorkGridUserEntity : SugarBaseEntity, ITenantId
{
///
/// 网格code
///
[SugarColumn(IsNullable = false, ColumnDescription = "网格code")]
public Guid WorkGridCode { get; set; }
///
/// 网格人员
///
[SugarColumn(IsNullable = false, ColumnDescription = "网格人员")]
public string UserCode { get; set; }
///
/// 排班类型
///
[SugarColumn(IsNullable = true, ColumnDescription = "排班类型", SqlParameterDbType = typeof(EnumToStringConvert))]
public WorkGridTimePeriodEnumType? ScheduleType { get; set; }
///
public string TenantId { get; set; }
}