zoukankan      html  css  js  c++  java
  • 双向表-实体类

    package com.lzl.pojo;

    import java.io.Serializable;
    import java.util.Date;

    import org.springframework.format.annotation.DateTimeFormat;

    public class Mingxi implements Serializable{

    /**
    *
    */
    private static final long serialVersionUID = 2015335970114773449L;

    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
    private String qid;
    private String name;
    private String tel;

    private int cid;
    private String ctime1;
    private String ctime2;
    private String cqid;
    private String cname;
    private String ctel;
    public Integer getId() {
    return id;
    }
    public void setId(Integer id) {
    this.id = id;
    }
    public Date getTime() {
    return time;
    }
    public void setTime(Date time) {
    this.time = time;
    }
    public String getQid() {
    return qid;
    }
    public void setQid(String qid) {
    this.qid = qid;
    }
    public String getName() {
    return name;
    }
    public void setName(String name) {
    this.name = name;
    }
    public String getTel() {
    return tel;
    }
    public void setTel(String tel) {
    this.tel = tel;
    }
    public int getCid() {
    return cid;
    }
    public void setCid(int cid) {
    this.cid = cid;
    }
    public String getCtime1() {
    return ctime1;
    }
    public void setCtime1(String ctime1) {
    this.ctime1 = ctime1;
    }
    public String getCtime2() {
    return ctime2;
    }
    public void setCtime2(String ctime2) {
    this.ctime2 = ctime2;
    }
    public String getCqid() {
    return cqid;
    }
    public void setCqid(String cqid) {
    this.cqid = cqid;
    }
    public String getCname() {
    return cname;
    }
    public void setCname(String cname) {
    this.cname = cname;
    }
    public String getCtel() {
    return ctel;
    }
    public void setCtel(String ctel) {
    this.ctel = ctel;
    }
    public Mingxi(Integer id, Date time, String qid, String name, String tel, int cid, String ctime1, String ctime2,
    String cqid, String cname, String ctel) {
    super();
    this.id = id;
    this.time = time;
    this.qid = qid;
    this.name = name;
    this.tel = tel;
    this.cid = cid;
    this.ctime1 = ctime1;
    this.ctime2 = ctime2;
    this.cqid = cqid;
    this.cname = cname;
    this.ctel = ctel;
    }
    @Override
    public String toString() {
    return "Mingxi [id=" + id + ", time=" + time + ", qid=" + qid + ", name=" + name + ", tel=" + tel + ", cid="
    + cid + ", ctime1=" + ctime1 + ", ctime2=" + ctime2 + ", cqid=" + cqid + ", cname=" + cname + ", ctel="
    + ctel + "]";
    }
    public Mingxi() {
    super();
    // TODO Auto-generated constructor stub
    }




    }

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

    package com.lzl.pojo;

    import java.io.Serializable;

    public class Wuliao implements Serializable{

    /**
    *
    */
    private static final long serialVersionUID = -3572929925533058846L;

    private Integer id;
    private String name;
    private String guige;
    private String danwei;
    private double price;
    private String beizhu;
    public Integer getId() {
    return id;
    }
    public void setId(Integer id) {
    this.id = id;
    }
    public String getName() {
    return name;
    }
    public void setName(String name) {
    this.name = name;
    }
    public String getGuige() {
    return guige;
    }
    public void setGuige(String guige) {
    this.guige = guige;
    }
    public String getDanwei() {
    return danwei;
    }
    public void setDanwei(String danwei) {
    this.danwei = danwei;
    }
    public double getPrice() {
    return price;
    }
    public void setPrice(double price) {
    this.price = price;
    }
    public String getBeizhu() {
    return beizhu;
    }
    public void setBeizhu(String beizhu) {
    this.beizhu = beizhu;
    }
    public Wuliao(Integer id, String name, String guige, String danwei, double price, String beizhu) {
    super();
    this.id = id;
    this.name = name;
    this.guige = guige;
    this.danwei = danwei;
    this.price = price;
    this.beizhu = beizhu;
    }
    @Override
    public String toString() {
    return "Wuliao [id=" + id + ", name=" + name + ", guige=" + guige + ", danwei=" + danwei + ", price=" + price
    + ", beizhu=" + beizhu + "]";
    }
    public Wuliao() {
    super();
    // TODO Auto-generated constructor stub
    }

    }

  • 相关阅读:
    python模块总结(一)命令行解析模块argparse
    TCP(一)三次握手和四次挥手
    容器网络(四)vxlan
    容器网络(三)容器间通信
    kvm虚拟化(二)网络虚拟化
    KVM虚拟化(一)创建虚拟机
    数字操作 —— 9_ 回文数
    数字操作 —— 8_字符串转换整数(atoi)
    数字操作 —— 7_整数反转
    字符串操作 —— 763_划分字母区间
  • 原文地址:https://www.cnblogs.com/liuzhaolong/p/12971430.html
Copyright © 2011-2022 走看看