消费记录实体类UserPay
2018-09-21 本文已影响0人
张威先森
package com.neuedu.manager;
import java.sql.Date;
import java.sql.Timestamp;
public class UserPay {
private int pid;
private int userid;
private double paymoney;
private Timestamp paytime;
public UserPay(){
}
public UserPay(int pid, int userid, double paymoney,Timestamp paytime) {
super();
this.pid = pid;
this.userid = userid;
this.paymoney = paymoney;
this.paytime = paytime;
}
public int getPid() {
return pid;
}
public void setPid(int pid) {
this.pid = pid;
}
public int getUserid() {
return userid;
}
public void setUserid(int userid) {
this.userid = userid;
}
public double getPaymoney() {
return paymoney;
}
public void setPaymoney(double paymoney) {
this.paymoney = paymoney;
}
public Timestamp getPaytime() {
return paytime;
}
public void setPaytime(Timestamp paytime) {
this.paytime = paytime;
}
@Override
public String toString() {
return "UserPay [pid=" + pid + ", userid=" + userid + ", paymoney=" + paymoney + ", paytime=" + paytime + "]";
}
}