45 lines
1.4 KiB
C#
45 lines
1.4 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; }
|
|
|
|
public string TenantId { get; set; }
|
|
} |