leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package com.skyline.electricity.pojo;
 
public class Model
{
    private String gltf;
    private int scale;
    private boolean runAnimations;
    private boolean show;
    private int minimumPixelSize;
    
    public String getGltf() {
        return this.gltf;
    }
    
    public int getScale() {
        return this.scale;
    }
    
    public boolean isRunAnimations() {
        return this.runAnimations;
    }
    
    public boolean isShow() {
        return this.show;
    }
    
    public int getMinimumPixelSize() {
        return this.minimumPixelSize;
    }
    
    public void setGltf(final String gltf) {
        this.gltf = gltf;
    }
    
    public void setScale(final int scale) {
        this.scale = scale;
    }
    
    public void setRunAnimations(final boolean runAnimations) {
        this.runAnimations = runAnimations;
    }
    
    public void setShow(final boolean show) {
        this.show = show;
    }
    
    public void setMinimumPixelSize(final int minimumPixelSize) {
        this.minimumPixelSize = minimumPixelSize;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Model)) {
            return false;
        }
        final Model other = (Model)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$gltf = this.getGltf();
        final Object other$gltf = other.getGltf();
        if (this$gltf == null) {
            if (other$gltf == null) {
                return this.getScale() == other.getScale() && this.isRunAnimations() == other.isRunAnimations() && this.isShow() == other.isShow() && this.getMinimumPixelSize() == other.getMinimumPixelSize();
            }
        }
        else if (this$gltf.equals(other$gltf)) {
            return this.getScale() == other.getScale() && this.isRunAnimations() == other.isRunAnimations() && this.isShow() == other.isShow() && this.getMinimumPixelSize() == other.getMinimumPixelSize();
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof Model;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $gltf = this.getGltf();
        result = result * 59 + (($gltf == null) ? 43 : $gltf.hashCode());
        result = result * 59 + this.getScale();
        result = result * 59 + (this.isRunAnimations() ? 79 : 97);
        result = result * 59 + (this.isShow() ? 79 : 97);
        result = result * 59 + this.getMinimumPixelSize();
        return result;
    }
    
    @Override
    public String toString() {
        return "Model(gltf=" + this.getGltf() + ", scale=" + this.getScale() + ", runAnimations=" + this.isRunAnimations() + ", show=" + this.isShow() + ", minimumPixelSize=" + this.getMinimumPixelSize() + ")";
    }
}