
19 changed files with 277 additions and 77 deletions
@ -0,0 +1,62 @@ |
|||
package com.yxt.anrui.riskcenter.api.loanvoucher; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2023/12/19 11:16 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "一般凭证 数据传输对象", description = "一般凭证 数据传输对象") |
|||
public class RskGeneralVoucher { |
|||
|
|||
@ApiModelProperty("分公司编码") |
|||
@NotBlank(message = "分公司编码不能为空") |
|||
public String useOrgCode; |
|||
@ApiModelProperty("业务日期") |
|||
public String bussDate; |
|||
@ApiModelProperty("凭证明细") |
|||
public List<RskGeneralVoucher.GeneralVoucherDetail> voucherDetails; |
|||
|
|||
@Data |
|||
public static class GeneralVoucherDetail { |
|||
public String timeFlag; //应用于资金占用费计提凭证摘要标识 0代表上月 1代表本月
|
|||
public String type; |
|||
@ApiModelProperty("场景编码") |
|||
public String sceneCode; |
|||
@ApiModelProperty("资方简称") |
|||
@NotBlank(message = "资方简称不能为空") |
|||
public String bankName; |
|||
@ApiModelProperty("数据日期") |
|||
public Date dataTime; |
|||
@ApiModelProperty("部门编码") |
|||
@NotBlank(message = "部门编码不能为空") |
|||
public String deptCode; |
|||
@ApiModelProperty("部门名称") |
|||
public String deptName; |
|||
@ApiModelProperty("客户编码") |
|||
@NotBlank(message = "客户编码不能为空") |
|||
public String customerCode; |
|||
@ApiModelProperty("客户名称") |
|||
public String customerName; |
|||
@ApiModelProperty("金额") |
|||
@NotBlank(message = "金额不能为空") |
|||
public BigDecimal amount; |
|||
@ApiModelProperty("核算维度厂商(供应商)") |
|||
public String manufacturer; |
|||
@ApiModelProperty("核算维度物料") |
|||
public String material; |
|||
@ApiModelProperty("备注") |
|||
public String remarks; |
|||
@ApiModelProperty("采购系统sid") |
|||
public String purchaseSystemSid; |
|||
} |
|||
} |
Loading…
Reference in new issue