using Dlhis.Entity.Basic.Dto;
using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Sys.Entities;
///
/// 厂区配置
///
[SugarTable(TableName = "FactorySetting", TableDescription = "厂区配置")]
public class FactorySettingEntity : SugarBaseEntity, ITenantId
{
///
/// 是否启用外包自动下发
///
[SugarColumn(ColumnDataType = "bit", ColumnDescription = "是否启用外包自动下发", DefaultValue = "0")]
public bool EnableOutsourceDown { get; set; }
///
/// 档案二维码过期时间
///
[SugarColumn(ColumnDescription = "档案二维码过期时间", IsNullable = true)]
public int? UserQrCodeExpiration { get; set; }
///
/// 电子餐券二维码过期时间
///
[SugarColumn(ColumnDescription = "电子餐券二维码过期时间", IsNullable = true)]
public int? EMealVoucherQrCodeExpiration { get; set; }
///
/// 人脸检测配置
///
[SugarColumn(ColumnDescription = "人脸检测配置", IsNullable = true, IsJson = true)]
public FaceImageDetectionDto FaceImageDetection { get; set; }
public string TenantId { get; set; }
}