package com.ruoyi.account.bean.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDate;
|
|
@Data
|
@Schema(name = "StatementAccountDto", description = "财务管理--生成对账单(传参)")
|
public class StatementAccountDto {
|
|
//业务类型(1应收对账;2应付对账)
|
@Schema(name = "accountType", description = "业务类型(1应收对账;2应付对账)")
|
private Integer accountType;
|
|
//选择的客户(应收是客户,应付是供应商supplierId)
|
@Schema(name = "customerId", description = "客户ID")
|
private Long customerId;
|
|
//对账月份yyyy-MM
|
@Schema(name = "statementMonth", description = "对账月份")
|
private String statementMonth;
|
|
@Schema(description = "开始日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate startDate;
|
|
@Schema(description = "结束日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDate endDate;
|
}
|