Files
jinko.yikatong/Src/Dlhis.Entity/Sys/Entities/FactorySettingEntity.cs
2025-03-05 12:38:58 +08:00

48 lines
1.6 KiB
C#

using Dlhis.Entity.Basic.Dto;
using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Sys.Entities;
/// <summary>
/// 厂区配置
/// </summary>
[SugarTable(TableName = "FactorySetting", TableDescription = "厂区配置")]
public class FactorySettingEntity : SugarBaseEntity, ITenantId
{
/// <summary>
/// 是否启用外包自动下发
/// </summary>
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用外包自动下发", DefaultValue = "0")]
public bool EnableOutsourceDown { get; set; }
/// <summary>
/// 档案二维码过期时间
/// </summary>
[SugarColumn(ColumnDescription = "档案二维码过期时间", IsNullable = true)]
public int? UserQrCodeExpiration { get; set; }
/// <summary>
/// 电子餐券二维码过期时间
/// </summary>
[SugarColumn(ColumnDescription = "电子餐券二维码过期时间", IsNullable = true)]
public int? EMealVoucherQrCodeExpiration { get; set; }
/// <summary>
/// 人脸检测配置
/// </summary>
[SugarColumn(ColumnDescription = "人脸检测配置", IsNullable = true, IsJson = true)]
public FaceImageDetectionDto FaceImageDetection { get; set; }
/// <summary>
/// 外包自动离职天数(无通行记录)
/// </summary>
public int NoRecordAutoResignOutsourceDays { get; set; }
[SugarColumn(IsNullable = true, ColumnDataType = "time", ColumnDescription = "工作网格编辑限制时间")]
public TimeOnly? WorkGridSetLimit { get; set; }
public string TenantId { get; set; }
}