Files
jinko.yikatong/Src/Dlhis.Canteen/MealSupplementRecord/Response/MealSupplementRecordMyResponse.cs
2024-04-08 18:25:18 +08:00

38 lines
817 B
C#

using Newtonsoft.Json;
namespace Dlhis.Canteen.MealSupplementRecord.Response;
public class MealSupplementRecordItemResponse
{
/// <summary>
/// 餐补日期
/// </summary>
public DateTime Date { get; set; }
[JsonIgnore]
public decimal CurrentAmount { get; set; }
/// <summary>
/// 餐补金额
/// </summary>
public string Amount => CurrentAmount.ToString("f2");
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
}
public class MealSupplementRecordMyResponse
{
[JsonIgnore]
public decimal CurrentMonthSum { get; set; }
/// <summary>
/// 当前月份总和
/// </summary>
public string MonthSum => CurrentMonthSum.ToString("f2");
public List<MealSupplementRecordItemResponse> Items { get; set; }
}