yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
 
public class CalendarAssociateWorkstationVO implements Serializable {
    private static final long serialVersionUID = 7210808793396897715L;
    @ApiModelProperty("生产日历编号")
    private String calendarCode;
    @ApiModelProperty("工位id集合")
    private List<Long> workstationIdList;
 
    public void setCalendarCode(final String calendarCode) {
        this.calendarCode = calendarCode;
    }
 
    public void setWorkstationIdList(final List<Long> workstationIdList) {
        this.workstationIdList = workstationIdList;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CalendarAssociateWorkstationVO) {
            CalendarAssociateWorkstationVO other = (CalendarAssociateWorkstationVO) o;
            if (other.canEqual(this)) {
                Object this$calendarCode = getCalendarCode();
                Object other$calendarCode = other.getCalendarCode();
                if (this$calendarCode == null) {
                    if (other$calendarCode != null) {
                        return false;
                    }
                } else if (!this$calendarCode.equals(other$calendarCode)) {
                    return false;
                }
                Object this$workstationIdList = getWorkstationIdList();
                Object other$workstationIdList = other.getWorkstationIdList();
                return this$workstationIdList == null ? other$workstationIdList == null : this$workstationIdList.equals(other$workstationIdList);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CalendarAssociateWorkstationVO;
    }
 
    public int hashCode() {
        Object $calendarCode = getCalendarCode();
        int result = (1 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
        Object $workstationIdList = getWorkstationIdList();
        return (result * 59) + ($workstationIdList == null ? 43 : $workstationIdList.hashCode());
    }
 
    public String toString() {
        return "CalendarAssociateWorkstationVO(calendarCode=" + getCalendarCode() + ", workstationIdList=" + getWorkstationIdList() + ")";
    }
 
    public String getCalendarCode() {
        return this.calendarCode;
    }
 
    public List<Long> getWorkstationIdList() {
        return this.workstationIdList;
    }
}