zoukankan      html  css  js  c++  java
  • 充值-实体类+查询

    package com.zhenshan.entity;

    import java.io.Serializable;

    import com.zhenshan.entity.BorrowCarDetail;

    public class BorrowCar implements Serializable{


    /**
    *
    */
    private static final long serialVersionUID = -9010666333988980420L;
    private Integer bid;
    private String userName;//用户名称
    private Double totalAmount;//充值中金额
    private Integer borrowCarNumber;//借车次数
    private Double boorowCarAmount;//接车金额

    private BorrowCarDetail bcd;

    public Integer getBid() {
    return bid;
    }

    public void setBid(Integer bid) {
    this.bid = bid;
    }

    public String getUserName() {
    return userName;
    }

    public void setUserName(String userName) {
    this.userName = userName;
    }

    public Double getTotalAmount() {
    return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
    this.totalAmount = totalAmount;
    }

    public Integer getBorrowCarNumber() {
    return borrowCarNumber;
    }

    public void setBorrowCarNumber(Integer borrowCarNumber) {
    this.borrowCarNumber = borrowCarNumber;
    }

    public Double getBoorowCarAmount() {
    return boorowCarAmount;
    }

    public void setBoorowCarAmount(Double boorowCarAmount) {
    this.boorowCarAmount = boorowCarAmount;
    }


    public BorrowCarDetail getBcd() {
    return bcd;
    }

    public void setBcd(BorrowCarDetail bcd) {
    this.bcd = bcd;
    }

    public BorrowCar() {
    super();
    // TODO Auto-generated constructor stub
    }

    public BorrowCar(Integer bid, String userName, Double totalAmount, Integer borrowCarNumber, Double boorowCarAmount,
    BorrowCarDetail bcd) {
    super();
    this.bid = bid;
    this.userName = userName;
    this.totalAmount = totalAmount;
    this.borrowCarNumber = borrowCarNumber;
    this.boorowCarAmount = boorowCarAmount;
    this.bcd = bcd;
    }

    @Override
    public String toString() {
    return "BorrowCar [bid=" + bid + ", userName=" + userName + ", totalAmount=" + totalAmount
    + ", borrowCarNumber=" + borrowCarNumber + ", boorowCarAmount=" + boorowCarAmount + ", bcd=" + bcd
    + "]";
    }




    }

    -------------------------------------------------------------------------------------

    package com.zhenshan.entity;

    import java.io.Serializable;

    public class BorrowCarDetail implements Serializable{


    /**
    *
    */
    private static final long serialVersionUID = 7855743756061243376L;
    private Integer cid;
    private String borrowCarDate;//日期
    private Integer userId;//用户id
    private String carNumber;//车牌号
    private Double borrowAmount;//单词接车金额
    public Integer getCid() {
    return cid;
    }
    public void setCid(Integer cid) {
    this.cid = cid;
    }
    public String getBorrowCarDate() {
    return borrowCarDate;
    }
    public void setBorrowCarDate(String borrowCarDate) {
    this.borrowCarDate = borrowCarDate;
    }
    public Integer getUserId() {
    return userId;
    }
    public void setUserId(Integer userId) {
    this.userId = userId;
    }
    public String getCarNumber() {
    return carNumber;
    }
    public void setCarNumber(String carNumber) {
    this.carNumber = carNumber;
    }
    public Double getBorrowAmount() {
    return borrowAmount;
    }
    public void setBorrowAmount(Double borrowAmount) {
    this.borrowAmount = borrowAmount;
    }
    public BorrowCarDetail() {
    super();
    // TODO Auto-generated constructor stub
    }
    public BorrowCarDetail(Integer cid, String borrowCarDate, Integer userId, String carNumber, Double borrowAmount) {
    super();
    this.cid = cid;
    this.borrowCarDate = borrowCarDate;
    this.userId = userId;
    this.carNumber = carNumber;
    this.borrowAmount = borrowAmount;
    }
    @Override
    public String toString() {
    return "BorrowCarDetail [cid=" + cid + ", borrowCarDate=" + borrowCarDate + ", userId=" + userId
    + ", carNumber=" + carNumber + ", borrowAmount=" + borrowAmount + "]";
    }



    }

    ----------------------------------------------------------------------

    package com.zhenshan.entity;

    import java.io.Serializable;

    public class Condition implements Serializable{


    /**
    *
    */
    private static final long serialVersionUID = 7888594251907984979L;
    private String userName;
    private String carNumber;
    private String borrowCarDate;
    private Double borrowCarAmount;
    private Double totalAmount;
    private Integer userId;

    private String paixu;


    public String getPaixu() {
    return paixu;
    }
    public void setPaixu(String paixu) {
    this.paixu = paixu;
    }
    public String getUserName() {
    return userName;
    }
    public void setUserName(String userName) {
    this.userName = userName;
    }
    public String getCarNumber() {
    return carNumber;
    }
    public void setCarNumber(String carNumber) {
    this.carNumber = carNumber;
    }
    public String getBorrowCarDate() {
    return borrowCarDate;
    }
    public void setBorrowCarDate(String borrowCarDate) {
    this.borrowCarDate = borrowCarDate;
    }
    public Double getBorrowCarAmount() {
    return borrowCarAmount;
    }
    public void setBorrowCarAmount(Double borrowCarAmount) {
    this.borrowCarAmount = borrowCarAmount;
    }
    public Double getTotalAmount() {
    return totalAmount;
    }
    public void setTotalAmount(Double totalAmount) {
    this.totalAmount = totalAmount;
    }
    public Integer getUserId() {
    return userId;
    }
    public void setUserId(Integer userId) {
    this.userId = userId;
    }

    public Condition(String userName, String carNumber, String borrowCarDate, Double borrowCarAmount,
    Double totalAmount, Integer userId, String paixu) {
    super();
    this.userName = userName;
    this.carNumber = carNumber;
    this.borrowCarDate = borrowCarDate;
    this.borrowCarAmount = borrowCarAmount;
    this.totalAmount = totalAmount;
    this.userId = userId;
    this.paixu = paixu;
    }
    @Override
    public String toString() {
    return "Condition [userName=" + userName + ", carNumber=" + carNumber + ", borrowCarDate=" + borrowCarDate
    + ", borrowCarAmount=" + borrowCarAmount + ", totalAmount=" + totalAmount + ", userId=" + userId
    + ", paixu=" + paixu + "]";
    }
    public Condition() {
    super();
    // TODO Auto-generated constructor stub
    }



    }

  • 相关阅读:
    基于OpenVINO的端到端DL网络-A Year in Computer Vision中关于图像增强系列部分
    基于OpenVINO的端到端DL网络-Tesseract5+VS2017+win10源码编译攻略
    基于OpenVINO的端到端DL网络-Intel AI DevCloud 的申请和登陆
    OpenCV和RTSP的综合研究
    基于OpenVINO的端到端DL网络-包含目录、库目录、附加包含目录、附加库目录、附加依赖项之详解【正确的目录添加方法】
    消除临时对象
    Redis数据导入工具优化过程总结
    清楚利弊,用好内联
    STL区间成员函数及区间算法总结
    高效的使用STL
  • 原文地址:https://www.cnblogs.com/liuzhaolong/p/12971299.html
Copyright © 2011-2022 走看看