using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Canteen.Entities.Voucher;
///
/// 券发放时候关联的用户信息
///
[SugarTable(TableName = "VoucherUserInfos")]
public class VoucherUserInfoEntity : SugarBaseEntity
{
///
/// 券码
///
[SugarColumn(IsNullable = false)]
public string VoucherNo { get; set; }
///
/// 工号
///
[SugarColumn(IsNullable = false, ColumnDescription = "工号")]
public string UserCode { get; set; }
///
/// 成本中心
///
[SugarColumn(IsNullable = false)]
public string CostId { get; set; }
///
/// 人事范围
///
[SugarColumn(IsNullable = false)]
public string Werks { get; set; }
///
/// 厂区
///
[SugarColumn(IsNullable = false)]
public string Factory { get; set; }
///
/// 当前部门
///
[SugarColumn(IsNullable = false)]
public string DepartmentNo { get; set; }
///
/// 一级部门
///
[SugarColumn(IsNullable = false)]
public string DepartmentNoFirst { get; set; }
///
/// 二级部门
///
[SugarColumn(IsNullable = true)]
public string DepartmentNoSecond { get; set; }
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(255)")]
public string Signature { get; set; }
}