package com.cf.imes.module.system.controller.admin.funds.invoice.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@Schema(description = "管理后台 - 发票确认请求 Request VO")
public class InvoiceConfirmReqVO {


    @Schema(description = "发票申请记录编号",example = "1")
    @NotNull(message = "{invoice.confirm.id.notNull}")
    private Long id;


    @Schema(description = "是否开票")
    private boolean agree;


    @Schema(description = "发票号")
    @Length(max = 32, message = "{invoice.confirm.invoiceNo.length}")
    private String invoiceNo;


    @Schema(description = "备注")
    @Length(max = 1024, message = "{invoice.confirm.remark.length}")
    private String remark;
}
