You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
3.1 KiB
C#

using DS.Module.Core.Enums;
using DS.WMS.Core.Fee.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Fee.Dtos
{
public class ReimbursementRes
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 报销用户Id
/// </summary>
public string UserId { get; set; }
/// <summary>
/// 报销单编号
/// </summary>
public string ReimbursementId { get; set; }
/// <summary>
/// 制单时间
/// </summary>
public DateTime CreationTime { get; set; }
/// <summary>
/// 报销人
/// </summary>
public string Reimburser { get; set; }
/// <summary>
/// 状态(未提交,审核中,审核通过,审核驳回,撤销)
/// </summary>
public ReimbursementTypeEnums Status { get; set; }
/// <summary>
/// 驳回理由
/// </summary>
public string RejectReason { get; set; }
/// <summary>
/// 部门
/// </summary>
public string Department { get; set; }
/// <summary>
/// 凭证号
/// </summary>
public string VoucherNumber { get; set; }
/// <summary>
/// 收款人账号
/// </summary>
public string PayeeAccountNumber { get; set; }
/// <summary>
/// 开户行
/// </summary>
public string BankName { get; set; }
/// <summary>
/// 收款人名称
/// </summary>
public string PayeeName { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Note { get; set; }
}
public class ReimbursementReq
{
public long Id { get; set; }
/// <summary>
/// 收款人账号
/// </summary>
public string PayeeAccountNumber { get; set; }
/// <summary>
/// 开户行
/// </summary>
public string BankName { get; set; }
/// <summary>
/// 收款人名称
/// </summary>
public string PayeeName { get; set; }
public List<ReimbursementReqData> Data { get; set; }
}
public class ReimbursementReqData
{
/// <summary>
/// 事由
/// </summary>
public string Reason { get; set; }
/// <summary>
/// 金额
/// </summary>
public decimal Amount { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string InvoiceNumber { get; set; }
}
public class GetReimbursementRes: ReimbursementRes
{
public List<GetReimbursementResData> Data { get; set; }
}
public class GetReimbursementResData:InInvoice
{
public List<InInvoiceDetail> Data { get; set; }
}
public class SubmitReimbursementReq
{
/// <summary>
/// 报销单主键Id
/// </summary>
public long Id { get; set; }
}
}