add 消费处理完成
This commit is contained in:
@@ -10,37 +10,37 @@ namespace Dlhis.Entity.Basic.Entity;
|
||||
public class BusinessShiftMealRelationshipEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
/// <summary>
|
||||
/// 餐别Code
|
||||
/// 餐别Code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "餐别Code", UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
|
||||
public Guid ShiftCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 餐别手工号
|
||||
/// 餐别手工号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "餐别编码")]
|
||||
public string ShiftCustomCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 餐次
|
||||
/// 餐次
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "餐次", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert), UniqueGroupNameList = new[] { "idx_CanteenBusinessShiftRelationship_shiftcode_shifttype" })]
|
||||
public ShiftEnumType ShiftType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 经营开始时间
|
||||
/// 经营开始时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "经营开始时间")]
|
||||
public TimeOnly Start { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 经营结束时间
|
||||
/// 经营结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "经营结束时间")]
|
||||
public TimeOnly End { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "序号")]
|
||||
public int Sequence { get; set; }
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Dlhis.Entity.Basic.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 就餐人员
|
||||
/// </summary>
|
||||
[SugarTable(TableName = "GainfoMeal", TableDescription = "就餐人员")]
|
||||
public class GainfoMealEntity : SugarBaseEntity, IVersion
|
||||
{
|
||||
/// <summary>
|
||||
/// 工号
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "工号", UniqueGroupNameList = new[] { "idx_CanteenUser_UserCode" })]
|
||||
public string UserCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额")]
|
||||
public decimal Balance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额(充值)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额(充值)")]
|
||||
public decimal BalanceOfRecharge { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 余额(餐补)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "余额(餐补)")]
|
||||
public decimal BalanceOfSubsidies { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "版本号")]
|
||||
public int Version { get; set; }
|
||||
}
|
||||
}
|
||||
// using Kurisu.AspNetCore.DataAccess.Entity;
|
||||
// using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||
// using SqlSugar;
|
||||
//
|
||||
// namespace Dlhis.Entity.Basic.Entity
|
||||
// {
|
||||
// /// <summary>
|
||||
// /// 就餐人员
|
||||
// /// </summary>
|
||||
// [SugarTable(TableName = "GainfoMeal", TableDescription = "就餐人员")]
|
||||
// public class GainfoMealEntity : SugarBaseEntity, IVersion
|
||||
// {
|
||||
// /// <summary>
|
||||
// /// 工号
|
||||
// /// </summary>
|
||||
// [SugarColumn(IsNullable = false, ColumnDescription = "工号", UniqueGroupNameList = new[] { "idx_CanteenUser_UserCode" })]
|
||||
// public string UserCode { get; set; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// 余额
|
||||
// /// </summary>
|
||||
// [SugarColumn(ColumnDescription = "余额")]
|
||||
// public decimal Balance { get; set; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// 余额(充值)
|
||||
// /// </summary>
|
||||
// [SugarColumn(ColumnDescription = "余额(充值)")]
|
||||
// public decimal BalanceOfRecharge { get; set; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// 余额(餐补)
|
||||
// /// </summary>
|
||||
// [SugarColumn(ColumnDescription = "余额(餐补)")]
|
||||
// public decimal BalanceOfSubsidies { get; set; }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// 版本号
|
||||
// /// </summary>
|
||||
// [SugarColumn(ColumnDescription = "版本号")]
|
||||
// public int Version { get; set; }
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user