feat 接入海宁餐补api

This commit is contained in:
2024-03-29 10:42:12 +08:00
parent f7a9c98ff1
commit 780fff9e97
5 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace Dlhis.Canteen.Api.Request;
public class AddHainingMealSupplementRequest
{
/// <summary>
/// 流水号
/// </summary>
[Required]
[JsonProperty("orderNo")]
public string UniqueId { get; set; }
/// <summary>
/// 工号
/// </summary>
[Required]
[JsonProperty("ename")]
public string Code { get; set; }
/// <summary>
/// 餐补金额
/// </summary>
[JsonProperty("credit")]
public decimal Amount { get; set; }
/// <summary>
/// 考勤日期
/// </summary>
[Required]
[JsonProperty("sysdate")]
public DateTime Date { get; set; }
/// <summary>
/// 备注
/// </summary>
[JsonProperty("payRef")]
public string Remark { get; set; }
}