1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package cn.iocoder.yudao.module.finance.controller.admin.reimbursement.vo.item;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
 
@Schema(description = "管理后台 - 报销明细新增/修改 Request VO")
@Data
public class FinanceReimbursementItemSaveReqVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "费用类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "费用类型不能为空")
    private Integer expenseType;
 
    @Schema(description = "发票号码", example = "12345678")
    private String invoiceNo;
 
    @Schema(description = "发票金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "500.00")
    @NotNull(message = "发票金额不能为空")
    private BigDecimal invoiceAmount;
 
    @Schema(description = "发票日期")
    private LocalDate invoiceDate;
 
    @Schema(description = "开票方", example = "XX公司")
    private String drawer;
 
    @Schema(description = "费用说明", example = "出差火车票")
    private String description;
 
}