parent
2edae904a0
commit
d415fde0f8
@ -1,4 +1,4 @@ |
||||
package com.jianshui.platform.dto; |
||||
package com.jianshui.platform.dto.InvoiceAdd; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
@ -0,0 +1,49 @@ |
||||
package com.jianshui.platform.dto.InvoiceAdd.species; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* @Author: kk |
||||
* @Description: 数电普通发票-明细 |
||||
* @DateTime: 2023/6/7 10:42 |
||||
* @Params: |
||||
* @Return |
||||
*/ |
||||
@Data |
||||
@ApiModel("单据录入详情") |
||||
public class BillInfoDetailSDGenInvoicePDTO { |
||||
|
||||
@ApiModelProperty(value = "商品名称") |
||||
private String goodName; |
||||
|
||||
@ApiModelProperty(value = "规格型号") |
||||
private String spec; |
||||
|
||||
@ApiModelProperty(value = "单位") |
||||
private String unit; |
||||
|
||||
@ApiModelProperty(value = "商品数量") |
||||
private BigDecimal num; |
||||
|
||||
@ApiModelProperty(value = "商品单价") |
||||
private BigDecimal price; |
||||
|
||||
@ApiModelProperty(value = "金额(不含税)") |
||||
private BigDecimal taxfreeamt; |
||||
|
||||
@ApiModelProperty(value = "税率") |
||||
private BigDecimal taxrate; |
||||
|
||||
@ApiModelProperty(value = "税额") |
||||
private BigDecimal tax; |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,50 @@ |
||||
package com.jianshui.platform.dto.InvoiceAdd.species; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* @Author: kk |
||||
* @Description: 数电专用发票-明细 |
||||
* @DateTime: 2023/6/7 10:42 |
||||
* @Params: |
||||
* @Return |
||||
*/ |
||||
@Data |
||||
@ApiModel("单据录入详情") |
||||
public class BillInfoDetailSDSpecialInvoicePDTO { |
||||
|
||||
// TODO: 2023/6/5 增值税普通发票
|
||||
@ApiModelProperty(value = "商品名称") |
||||
private String goodName; |
||||
|
||||
@ApiModelProperty(value = "规格型号") |
||||
private String spec; |
||||
|
||||
@ApiModelProperty(value = "单位") |
||||
private String unit; |
||||
|
||||
@ApiModelProperty(value = "商品数量") |
||||
private BigDecimal num; |
||||
|
||||
@ApiModelProperty(value = "商品单价") |
||||
private BigDecimal price; |
||||
|
||||
@ApiModelProperty(value = "金额(不含税)") |
||||
private BigDecimal taxfreeamt; |
||||
|
||||
@ApiModelProperty(value = "税率") |
||||
private BigDecimal taxrate; |
||||
|
||||
@ApiModelProperty(value = "税额") |
||||
private BigDecimal tax; |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,84 @@ |
||||
package com.jianshui.platform.dto.InvoiceAdd.species; |
||||
|
||||
import com.jianshui.common.annotation.Excel; |
||||
import com.jianshui.platform.dto.InvoiceAdd.BillInfoDetailPDTO; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import javax.validation.constraints.NotEmpty; |
||||
import java.math.BigDecimal; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @Author: kk |
||||
* @Description: 数电普通发票 |
||||
* @DateTime: 2023/6/7 10:42 |
||||
* @Params: |
||||
* @Return |
||||
*/ |
||||
|
||||
@Data |
||||
@ApiModel("单据录入") |
||||
public class BillInfoSDGenInvoicePDTO { |
||||
|
||||
@NotEmpty |
||||
@ApiModelProperty(value = "购方名称") |
||||
private String buyerName; |
||||
|
||||
@NotEmpty |
||||
@ApiModelProperty(value = "购方税号") |
||||
private String buyerTaxnum; |
||||
|
||||
@ApiModelProperty(value = "购方地址") |
||||
private String buyerAddress; |
||||
|
||||
@ApiModelProperty(value = "购方电话") |
||||
private String buyerTelephone; |
||||
|
||||
@ApiModelProperty(value = "开户行") |
||||
private String buyerBank; |
||||
|
||||
@ApiModelProperty(value = "购买方开户行账号") |
||||
private String buyerAccount; |
||||
|
||||
@ApiModelProperty(value = "购方邮箱") |
||||
private String buyerEmail; |
||||
|
||||
|
||||
@ApiModelProperty(value = "销方名称") |
||||
private String sellerName; |
||||
|
||||
@ApiModelProperty(value = "销方税号") |
||||
private String sellerTaxnum; |
||||
|
||||
@ApiModelProperty(value = "销方地址") |
||||
private String sellerAddress; |
||||
|
||||
@ApiModelProperty(value = "销方电话") |
||||
private String sellerTelephone; |
||||
|
||||
@ApiModelProperty(value = "销方开户行名称") |
||||
private String sellerBank; |
||||
|
||||
@ApiModelProperty(value = "销方开户行账户") |
||||
private String sellerAccount; |
||||
|
||||
|
||||
@ApiModelProperty(value = "备注") |
||||
private String message; |
||||
|
||||
@ApiModelProperty(value = "价税合计") |
||||
private String jshj; |
||||
|
||||
@ApiModelProperty(value = "金额(不含税)") |
||||
private BigDecimal taxfreeamt; |
||||
|
||||
@ApiModelProperty(value = "税额") |
||||
private BigDecimal tax; |
||||
|
||||
@ApiModelProperty(value = "明细") |
||||
List<BillInfoDetailSDGenInvoicePDTO> billInfoDetailPDTOList; |
||||
|
||||
|
||||
} |
@ -0,0 +1,83 @@ |
||||
package com.jianshui.platform.dto.InvoiceAdd.species; |
||||
|
||||
import com.jianshui.platform.dto.InvoiceAdd.BillInfoDetailPDTO; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import javax.validation.constraints.NotEmpty; |
||||
import java.math.BigDecimal; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @Author: kk |
||||
* @Description: 数电专用发票 |
||||
* @DateTime: 2023/6/7 10:42 |
||||
* @Params: |
||||
* @Return |
||||
*/ |
||||
|
||||
@Data |
||||
@ApiModel("单据录入") |
||||
public class BillInfoSDSpecialInvoicePDTO { |
||||
|
||||
@NotEmpty |
||||
@ApiModelProperty(value = "购方名称") |
||||
private String buyerName; |
||||
|
||||
@NotEmpty |
||||
@ApiModelProperty(value = "购方税号") |
||||
private String buyerTaxnum; |
||||
|
||||
@ApiModelProperty(value = "购方地址") |
||||
private String buyerAddress; |
||||
|
||||
@ApiModelProperty(value = "购方电话") |
||||
private String buyerTelephone; |
||||
|
||||
@ApiModelProperty(value = "开户行") |
||||
private String buyerBank; |
||||
|
||||
@ApiModelProperty(value = "购买方开户行账号") |
||||
private String buyerAccount; |
||||
|
||||
@ApiModelProperty(value = "购方邮箱") |
||||
private String buyerEmail; |
||||
|
||||
|
||||
@ApiModelProperty(value = "销方名称") |
||||
private String sellerName; |
||||
|
||||
@ApiModelProperty(value = "销方税号") |
||||
private String sellerTaxnum; |
||||
|
||||
@ApiModelProperty(value = "销方地址") |
||||
private String sellerAddress; |
||||
|
||||
@ApiModelProperty(value = "销方电话") |
||||
private String sellerTelephone; |
||||
|
||||
@ApiModelProperty(value = "销方开户行名称") |
||||
private String sellerBank; |
||||
|
||||
@ApiModelProperty(value = "销方开户行账户") |
||||
private String sellerAccount; |
||||
|
||||
|
||||
@ApiModelProperty(value = "备注") |
||||
private String message; |
||||
|
||||
@ApiModelProperty(value = "价税合计") |
||||
private String jshj; |
||||
|
||||
@ApiModelProperty(value = "金额(不含税)") |
||||
private BigDecimal taxfreeamt; |
||||
|
||||
@ApiModelProperty(value = "税额") |
||||
private BigDecimal tax; |
||||
|
||||
@ApiModelProperty(value = "明细") |
||||
List<BillInfoDetailSDSpecialInvoicePDTO> billInfoDetailPDTOList; |
||||
|
||||
|
||||
} |
Loading…
Reference in new issue