结对作业开发进度(第四天)

从第四天开始进行代码的编写

 

 

今天完成了后端中所需要的实体类的书写

 1 package com.pojo;
 2 
 3 public class ditiepojo {
 4     private String xianlu;
 5     private String cid;
 6     private  String zhandian;
 7     private  String huanc;
 8     private int id;
 9 
10     public ditiepojo(String xianlu, String cid, String zhandian, String huanc) {
11         this.xianlu = xianlu;
12         this.cid = cid;
13         this.zhandian = zhandian;
14         this.huanc = huanc;
15 
16     }
17 
18 
19 
20     public String getXianlu() {
21         return xianlu;
22     }
23 
24     public void setXianlu(String xianlu) {
25         this.xianlu = xianlu;
26     }
27 
28     public String getCid() {
29         return cid;
30     }
31 
32     public void setCid(String cid) {
33         this.cid = cid;
34     }
35 
36     public String getZhandian() {
37         return zhandian;
38     }
39 
40     public void setZhandian(String zhandian) {
41         this.zhandian = zhandian;
42     }
43 
44     public String getHuanc() {
45         return huanc;
46     }
47 
48     public void setHuanc(String huanc) {
49         this.huanc = huanc;
50     }
51 
52     @Override
53     public String toString() {
54         return "ditiepojo{" +
55                 "xianlu='" + xianlu + '\'' +
56                 ", cid='" + cid + '\'' +
57                 ", zhandian='" + zhandian + '\'' +
58                 ", huanc='" + huanc + '\'' +
59                 ", id=" + id +
60                 '}';
61     }
62 
63     public int getId() {
64         return id;
65     }
66 
67     public void setId(int id) {
68         this.id = id;
69     }
70 }

 

 1 package com.pojo;
 2 
 3 public class huanc {
 4     private String xianlu1;
 5     private String xianlu2;
 6     private String gzhandain;
 7 
 8     public huanc(String xianlu1, String xianlu2, String gzhandain) {
 9         this.xianlu1 = xianlu1;
10         this.xianlu2 = xianlu2;
11         this.gzhandain = gzhandain;
12     }
13 
14     @Override
15     public String toString() {
16         return "huanc{" +
17                 "xianlu1='" + xianlu1 + '\'' +
18                 ", xianlu2='" + xianlu2 + '\'' +
19                 ", gzhandain='" + gzhandain + '\'' +
20                 '}';
21     }
22 
23     public String getXianlu1() {
24         return xianlu1;
25     }
26 
27     public void setXianlu1(String xianlu1) {
28         this.xianlu1 = xianlu1;
29     }
30 
31     public String getXianlu2() {
32         return xianlu2;
33     }
34 
35     public void setXianlu2(String xianlu2) {
36         this.xianlu2 = xianlu2;
37     }
38 
39     public String getGzhandain() {
40         return gzhandain;
41     }
42 
43     public void setGzhandain(String gzhandain) {
44         this.gzhandain = gzhandain;
45     }
46 }

 

 1 package com.pojo;
 2 
 3 public class lix {
 4     private String qidian;
 5     private String zdain;
 6 
 7     public lix(String qidian, String zdain) {
 8         this.qidian = qidian;
 9         this.zdain = zdain;
10     }
11 
12     @Override
13     public String toString() {
14         return "lix{" +
15                 "qidian='" + qidian + '\'' +
16                 ", zdain='" + zdain + '\'' +
17                 '}';
18     }
19 
20     public String getQidian() {
21         return qidian;
22     }
23 
24     public void setQidian(String qidian) {
25         this.qidian = qidian;
26     }
27 
28     public String getZdain() {
29         return zdain;
30     }
31 
32     public void setZdain(String zdain) {
33         this.zdain = zdain;
34     }
35 }

 

 1 package com.pojo;
 2 
 3 public class
 4 lu {
 5     private String lu;
 6     public String getLu() {
 7         return lu;
 8     }
 9     public void setLu(String lu) {
10         this.lu = lu;
11     }
12     @Override
13     public String toString() {
14         return "lu{" +
15                 "lu='" + lu + '\'' +
16                 '}';
17     }
18 }

 

 1 package com.pojo;
 2 
 3 import java.util.List;
 4 
 5 //分页查询的JavaBean
 6 public class PageBean<T> {
 7     // 总记录数
 8     private int totalCount;
 9     // 当前页数据
10     private List<T> rows;
11 
12 
13     public int getTotalCount() {
14         return totalCount;
15     }
16 
17     public void setTotalCount(int totalCount) {
18         this.totalCount = totalCount;
19     }
20 
21     public List<T> getRows() {
22         return rows;
23     }
24 
25     public void setRows(List<T> rows) {
26         this.rows = rows;
27     }
28 }

 

 1 package com.pojo;
 2 
 3 public class zhandian {
 4     private String xianlu;
 5     private String zhandian1;
 6 
 7     public zhandian(String xianlu, String zhandian1) {
 8         this.xianlu = xianlu;
 9         this.zhandian1 = zhandian1;
10     }
11 
12     public String getXianlu() {
13         return xianlu;
14     }
15 
16     public void setXianlu(String xianlu) {
17         this.xianlu = xianlu;
18     }
19 
20     public String getZhandian1() {
21         return zhandian1;
22     }
23 
24     public void setZhandian1(String zhandian1) {
25         this.zhandian1 = zhandian1;
26     }
27 
28     @Override
29     public String toString() {
30         return "zhandian{" +
31                 "xianlu='" + xianlu + '\'' +
32                 ", zhandian1='" + zhandian1 + '\'' +
33                 '}';
34     }
35 }

 

 1 package com.pojo;
 2 
 3 public class zhandian1 {
 4     private String zhandian1;
 5 
 6     public String getZhandian1() {
 7         return zhandian1;
 8     }
 9 
10     @Override
11     public String toString() {
12         return "zhandian1{" +
13                 "zhandian1='" + zhandian1 + '\'' +
14                 '}';
15     }
16 
17     public void setZhandian1(String zhandian1) {
18         this.zhandian1 = zhandian1;
19     }
20 
21 
22 }

 

posted @ 2024-04-25 21:41  连师傅只会helloword  阅读(3)  评论(0编辑  收藏  举报