yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
package com.qianwen.smartman.modules.mdc.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import java.io.Serializable;
import java.time.LocalDate;
import javax.validation.constraints.NotNull;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/CrossDayStateVO.class */
public class CrossDayStateVO implements Serializable {
    private static final long serialVersionUID = 8284093134149844323L;
    @NotNull(message = "时间不能为空")
    @JsonSerialize(using = LocalDateSerializer.class)
    @JsonDeserialize(using = LocalDateDeserializer.class)
    private LocalDate date;
 
    @JsonDeserialize(using = LocalDateDeserializer.class)
    public void setDate(final LocalDate date) {
        this.date = date;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CrossDayStateVO) {
            CrossDayStateVO other = (CrossDayStateVO) o;
            if (other.canEqual(this)) {
                Object this$date = getDate();
                Object other$date = other.getDate();
                return this$date == null ? other$date == null : this$date.equals(other$date);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CrossDayStateVO;
    }
 
    public int hashCode() {
        Object $date = getDate();
        int result = (1 * 59) + ($date == null ? 43 : $date.hashCode());
        return result;
    }
 
    public String toString() {
        return "CrossDayStateVO(date=" + getDate() + ")";
    }
 
    public LocalDate getDate() {
        return this.date;
    }
}