package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 编辑整个订单保存 VO")
@Data
public class ExpenseOrderEditSaveVO {

    @Schema(description = "账单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账单ID不能为空")
    private Long id;

    @Schema(description = "长者ID")
    private Long elderId;

    @Schema(description = "账单编号")
    private String billOrderNumber;

    @Schema(description = "支付状态，0：未缴费 1：已缴费")
    private Integer payStatus;

    @Schema(description = "实际支付金额(总额)")
    private BigDecimal payableAmount;

    @Schema(description = "应收金额(总额)")
    private BigDecimal actualAmount;

    @Schema(description = "账单月")
    private String billingMonth;

    @Schema(description = "收款人")
    private String payeeName;

    @Schema(description = "发票号")
    private String invoiceNumber;

    @Schema(description = "欠费备注")
    private String arrearsNote;

    @Schema(description = "账单明细列表")
    private List<ExpenseOrderItemEditVO> items;

}