package com.jianshui.platform.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: kane
 * @Description: 含税不含税转换传输类
 * @CreateTime: 2023-06-07  13:46
 * @Version: 1.0
 **/
@ApiModel("含税不含税转换")
@Data
public class TaxSwitchingDTO {
    @NotNull
    @ApiModelProperty("发票id")
    private Integer id;
    @NotNull
    @ApiModelProperty("数量")
    private BigDecimal number;
    @NotNull
    @ApiModelProperty("单价")
    private BigDecimal unitPrice;
    @NotNull
    @ApiModelProperty("金额")
    private BigDecimal money;
    @NotNull
    @ApiModelProperty("税率")
    private BigDecimal taxRate;
    @NotNull
    @ApiModelProperty("税额")
    private BigDecimal taxMoney;
    @NotEmpty
    @ApiModelProperty("状态0-含税，1-不含税")
    private String status;

}
