36 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.yzt.common.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* 发票请求对象
*/
@Data
@ApiModel(value="InvoiceRequestVo", description="发票请求对象")
public class InvoiceRequestVo implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "是否需要发票:true=需要,false=不需要", required = true)
@NotNull(message = "请选择是否需要发票")
private Boolean needInvoice;
@ApiModelProperty(value = "发票抬头类型:1=个人,2=单位")
private Integer invoiceType;
@ApiModelProperty(value = "发票抬头(个人名称或单位名称)")
private String invoiceTitle;
@ApiModelProperty(value = "纳税人识别号(单位必填)")
private String taxNumber;
@ApiModelProperty(value = "发票内容,默认:商品明细")
private String invoiceContent;
}