feat 生日券功能,自动上传消费数据,提醒访客到期
This commit is contained in:
39
Src/Dlhis.Jip.Api/Requests/UploadCostRequest.cs
Normal file
39
Src/Dlhis.Jip.Api/Requests/UploadCostRequest.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Dlhis.Jip.Api.Requests;
|
||||
|
||||
public class UploadCostRequest
|
||||
{
|
||||
[JsonProperty("T_DATA")]
|
||||
public List<UploadCostItemRequest> Data { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class UploadCostItemRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 工号 可选,为空则删除日期下的所有记录
|
||||
/// </summary>
|
||||
[JsonProperty("ZWORKCODE")]
|
||||
public string WorkCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子信息类型 9020 水费扣减(上饶),9021 冷水扣减(上饶),9022 热水扣减(上饶), 2086餐卡消费金额 , 2088生日券发放金额、2089生日券消费金额
|
||||
/// </summary>
|
||||
[JsonProperty("SUBTY")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始日期
|
||||
/// </summary>
|
||||
[JsonProperty("BEGDA")]
|
||||
public string BeginDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工资项金额
|
||||
/// </summary>
|
||||
[JsonProperty("BETRG")]
|
||||
public decimal Charge { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user