admin
2021-01-04 aa6ef62aef83e277d4171df1d9f0803f91738216
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
package com.newvideo.domain.web;
 
import com.google.gson.annotations.Expose;
import com.newvideo.domain.DetailSystem;
 
public class DetailSystemSelect {
    @Expose
    private DetailSystem detailSystem;
    @Expose
    private boolean selected;
 
    public DetailSystem getDetailSystem() {
        return detailSystem;
    }
 
    public void setDetailSystem(DetailSystem detailSystem) {
        this.detailSystem = detailSystem;
    }
 
    public boolean isSelected() {
        return selected;
    }
 
    public void setSelected(boolean selected) {
        this.selected = selected;
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result
                + ((detailSystem == null) ? 0 : detailSystem.hashCode());
        return result;
    }
 
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        DetailSystemSelect other = (DetailSystemSelect) obj;
        if (detailSystem == null) {
            if (other.detailSystem != null)
                return false;
        } else if (!detailSystem.equals(other.detailSystem))
            return false;
        return true;
    }
    
 
}