| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- package cn.com.lzt.contractreports.dto;
- import org.jeecgframework.poi.excel.annotation.Excel;
- public class Contract4PurchaseRptDto implements Comparable<Contract4PurchaseRptDto>{
- @Excel(name="管理处",width=15)
- private String projectname;
- @Excel(name="供方",width=25)
- private String partnername;
- @Excel(name="服务内容",width=15)
- private String servicename;
- @Excel(name="合同期限",width=25)
- private String contractperiod;
- @Excel(name="支付方式",width=15)
- private String paymode;
- @Excel(name="已付至",width=15)
- private String payto;
- @Excel(name="已付金额",width=15,isStatistics = true)
- private Double totalpayment;
- @Excel(name="合同总额",width=15,isStatistics = true)
- private Double totalamount;
- @Excel(name="历史合同",width=15,isStatistics = true)
- private Double totalamounth;
- @Excel(name="差额",width=15,isStatistics = true)
- private Double balance;
- @Excel(name="联系人",width=15)
- private String contactsname;
- @Excel(name="联系电话",width=15)
- private String telphone ;
- private String id;
- public String getProjectname() {
- return projectname;
- }
- public void setProjectname(String projectname) {
- this.projectname = projectname;
- }
- public String getPartnername() {
- return partnername;
- }
- public void setPartnername(String partnername) {
- this.partnername = partnername;
- }
- public String getServicename() {
- return servicename;
- }
- public void setServicename(String servicename) {
- this.servicename = servicename;
- }
- public String getContractperiod() {
- return contractperiod;
- }
- public void setContractperiod(String contractperiod) {
- this.contractperiod = contractperiod;
- }
- public Double getTotalamount() {
- return totalamount;
- }
- public void setTotalamount(Double totalamount) {
- this.totalamount = totalamount;
- }
- public String getPaymode() {
- return paymode;
- }
- public void setPaymode(String paymode) {
- this.paymode = paymode;
- }
- public String getContactsname() {
- return contactsname;
- }
- public void setContactsname(String contactsname) {
- this.contactsname = contactsname;
- }
- public String getTelphone() {
- return telphone;
- }
- public void setTelphone(String telphone) {
- this.telphone = telphone;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public Double getTotalpayment() {
- return totalpayment;
- }
- public void setTotalpayment(Double totalpayment) {
- this.totalpayment = totalpayment;
- }
- public Double getBalance() {
- return balance;
- }
- public void setBalance(Double balance) {
- this.balance = balance;
- }
- public Double getTotalamounth() {
- return totalamounth;
- }
- public void setTotalamounth(Double totalamounth) {
- this.totalamounth = totalamounth;
- }
- public String getStartDate() {
- String[] date = contractperiod.split("~");
- return date[0];
- }
- public String getEndDate() {
- String[] date = contractperiod.split("~");
- return date[1];
- }
- @Override
- public int compareTo(Contract4PurchaseRptDto o) {
- if(this.getStartDate().compareTo(o.getStartDate()) > 1)
- return -1;
- else
- return 1;
- }
- public String getPayto() {
- return payto;
- }
- public void setPayto(String payto) {
- this.payto = payto;
- }
- }
|