parent
b2f6a6c49b
commit
825c0bdc20
@ -0,0 +1,72 @@ |
|||||||
|
package com.jianshui.platform.dto.invoicered; |
||||||
|
|
||||||
|
import com.jianshui.invoice.domain.Redinfodetail; |
||||||
|
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; |
||||||
|
import java.util.Date; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
/** |
||||||
|
* @Author: kane |
||||||
|
* @Description: 红字信息类 |
||||||
|
* @CreateTime: 2023-06-21 17:20 |
||||||
|
* @Version: 1.0 |
||||||
|
**/ |
||||||
|
@ApiModel("红字信息") |
||||||
|
@Data |
||||||
|
public class RedWordDTO { |
||||||
|
|
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("填开类型") |
||||||
|
private String billInputType; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("填开日期") |
||||||
|
private String billInputTime; |
||||||
|
|
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("含税不含税标志 0-含税 1-不含税") |
||||||
|
private String status; |
||||||
|
@ApiModelProperty("经办人") |
||||||
|
private String jbr; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("销方名称") |
||||||
|
private String sellerName; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("销方税号") |
||||||
|
private String sellerTaxnum; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("购方名称") |
||||||
|
private String buyerName; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("购方税号") |
||||||
|
private String buyerTaxnum; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("申请类型 0-销方 1-购方已抵扣 2-购方未抵扣") |
||||||
|
private String sqlx; |
||||||
|
|
||||||
|
@ApiModelProperty("发票代码") |
||||||
|
private String originFpdm; |
||||||
|
|
||||||
|
@ApiModelProperty("发票号码") |
||||||
|
private String originFphm; |
||||||
|
|
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("发票种类 p电子增值税普通发票 c增值税普通发票 s 增值税专用发票 e 收购发票 f 收购发票 r增值税普通发票") |
||||||
|
private String invoiceType; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("开票日期") |
||||||
|
private String originKprq; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("合计金额") |
||||||
|
private BigDecimal totalMoney; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("合计税额") |
||||||
|
private BigDecimal totalTax; |
||||||
|
|
||||||
|
@ApiModelProperty("红字信息详情列表") |
||||||
|
private List<RedinfodetailDTO> redinfodetailList; |
||||||
|
} |
@ -1,22 +1,25 @@ |
|||||||
package com.jianshui.platform.dto; |
package com.jianshui.platform.dto.invoicered; |
||||||
|
|
||||||
import io.swagger.annotations.ApiModel; |
import io.swagger.annotations.ApiModel; |
||||||
import io.swagger.annotations.ApiModelProperty; |
import io.swagger.annotations.ApiModelProperty; |
||||||
import lombok.Data; |
import lombok.Data; |
||||||
|
import javax.validation.constraints.NotEmpty; |
||||||
|
|
||||||
/** |
/** |
||||||
* @Author: kane |
* @Author: kane |
||||||
* @Description: 红字信息填开类 |
* @Description: 红字信息选择类 |
||||||
* @CreateTime: 2023-06-21 15:14 |
* @CreateTime: 2023-06-21 15:14 |
||||||
* @Version: 1.0 |
* @Version: 1.0 |
||||||
**/ |
**/ |
||||||
@Data |
@Data |
||||||
@ApiModel("红字信息填开类") |
@ApiModel("红字信息选择") |
||||||
public class RedInformationDTO { |
public class RedWordSelectionDTO { |
||||||
|
|
||||||
@ApiModelProperty("发票类型") |
@NotEmpty |
||||||
|
@ApiModelProperty("发票类型 s-专用发票") |
||||||
private String fplx; |
private String fplx; |
||||||
|
|
||||||
|
@NotEmpty |
||||||
@ApiModelProperty("申请类型 0-销方 1-购方已抵扣 2-购方未抵扣") |
@ApiModelProperty("申请类型 0-销方 1-购方已抵扣 2-购方未抵扣") |
||||||
private String sqlx; |
private String sqlx; |
||||||
|
|
@ -0,0 +1,46 @@ |
|||||||
|
package com.jianshui.platform.dto.invoicered; |
||||||
|
|
||||||
|
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-25 15:38 |
||||||
|
* @Version: 1.0 |
||||||
|
**/ |
||||||
|
@Data |
||||||
|
@ApiModel("红字信息详情") |
||||||
|
public class RedinfodetailDTO { |
||||||
|
|
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("商品名称") |
||||||
|
private String goodName; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("规格型号") |
||||||
|
private String spec; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("单位") |
||||||
|
private String unit; |
||||||
|
@NotEmpty |
||||||
|
@ApiModelProperty("商品数量") |
||||||
|
private BigDecimal num; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("单价") |
||||||
|
private BigDecimal cost; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("金额") |
||||||
|
private BigDecimal money; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("税率") |
||||||
|
private BigDecimal taxrate; |
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("税额") |
||||||
|
private BigDecimal tax; |
||||||
|
} |
Loading…
Reference in new issue