Linjiajia
2023-10-07 31b7700b976a46901f67c5d7a00281ca4745fc9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package com.application.zhangshi_app_android.bean;
 
import java.io.Serializable;
import java.util.Objects;
 
/**
 * @author Ljj
 * @date 2023.07.17. 22:03
 * @desc 轮播图 bean
 */
public class BannerBean implements Serializable {
    //id
    private int id;
    //个人id
    private int uid;
    //文件地址
    private String url;
    //文件类型 1 视频 0 图片
    private int flag;
    //是否被选中 1 选中 0 未选中
    private int choose;
 
    public int getId() {
        return id;
    }
 
    public void setId(int id) {
        this.id = id;
    }
 
    public int getUid() {
        return uid;
    }
 
    public void setUid(int uid) {
        this.uid = uid;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
 
    public int getFlag() {
        return flag;
    }
 
    public void setFlag(int flag) {
        this.flag = flag;
    }
 
    public int getChoose() {
        return choose;
    }
 
    public void setChoose(int choose) {
        this.choose = choose;
    }
 
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BannerBean that = (BannerBean) o;
        return id == that.id && uid == that.uid && flag == that.flag && choose == that.choose && url.equals(that.url);
    }
 
    @Override
    public int hashCode() {
        return Objects.hash(id, uid, url, flag, choose);
    }
}