GLDriver/app/src/main/java/com/arpa/hndahesudintocctmsdriver/bean/FqBean.java
2024-04-26 16:19:26 +08:00

120 lines
3.0 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.arpa.hndahesudintocctmsdriver.bean;
import java.util.ArrayList;
import java.util.List;
/**
* @author hlh
* @version 1.0.0
* @date 2021/11/23 19:16
* @description:
*/
public class FqBean {
private int pageSize;
private int currentPage;
private int totalCount;
private int totalPage;
private List<Invoice> driverInvoices;
//{"currentPage":100,"driverInvoices":[],"pageSize":1,"totalCount":0,"totalPage":0}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public int getCurrentPage() {
return currentPage;
}
public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
public int getTotalPage() {
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
public List<Invoice> getDriverInvoices() {
if (driverInvoices == null) {
return new ArrayList<>();
}
return driverInvoices;
}
public void setDriverInvoices(List<Invoice> driverInvoices) {
this.driverInvoices = driverInvoices;
}
public class Invoice{
String invoiceReceiverName; //受票方string类型
double taxRate; //发票税率double类型
double taxAmount; //税额, double类型
double totalAmount; //金额, double类型
double totalAmountIncludeTax; //金额+税额double类型
String driverInvoiceCode; //发票编号string类型
public String getInvoiceReceiverName() {
return invoiceReceiverName == null ? "" : invoiceReceiverName;
}
public void setInvoiceReceiverName(String invoiceReceiverName) {
this.invoiceReceiverName = invoiceReceiverName;
}
public double getTaxRate() {
return taxRate;
}
public void setTaxRate(double taxRate) {
this.taxRate = taxRate;
}
public double getTaxAmount() {
return taxAmount;
}
public void setTaxAmount(double taxAmount) {
this.taxAmount = taxAmount;
}
public double getTotalAmount() {
return totalAmount;
}
public void setTotalAmount(double totalAmount) {
this.totalAmount = totalAmount;
}
public double getTotalAmountIncludeTax() {
return totalAmountIncludeTax;
}
public void setTotalAmountIncludeTax(double totalAmountIncludeTax) {
this.totalAmountIncludeTax = totalAmountIncludeTax;
}
public String getDriverInvoiceCode() {
return driverInvoiceCode == null ? "" : driverInvoiceCode;
}
public void setDriverInvoiceCode(String driverInvoiceCode) {
this.driverInvoiceCode = driverInvoiceCode;
}
}
}