Files
jinko.yikatong/Src/Dlhis.Entity/Canteen/Entities/Voucher/VoucherUserInfoEntity.cs

64 lines
1.5 KiB
C#

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