61 lines
1.7 KiB
C#
61 lines
1.7 KiB
C#
using Dlhis.Entity.Basic.Enums;
|
|
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 餐补记录
|
|
/// </summary>
|
|
[SugarTable(TableName = "MealSupplementRecord", TableDescription = "餐补记录")]
|
|
public class MealSupplementRecordEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 唯一号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "唯一号", UniqueGroupNameList = new[] { "idx_MealSupplementRecord_UniqueId" })]
|
|
public string UniqueId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "工号")]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 考勤日期
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "考勤日期")]
|
|
public DateTime Date { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工作地
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "工作地")]
|
|
public string Workplace { get; set; }
|
|
|
|
/// <summary>
|
|
/// 厂区
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "厂区")]
|
|
public string Factory { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 餐补
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "餐补")]
|
|
public decimal Amount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 餐补状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public MealSupplementStatusEnumtype Status { get; set; }
|
|
}
|