package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "班次模型", description = "班次模型")
|
@TableName("blade_shift_model")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ShiftModel.class */
|
public class ShiftModel extends BaseEntity {
|
private static final long serialVersionUID = 2367142464401167997L;
|
@ApiModelProperty("班次编号")
|
private String code;
|
@ApiModelProperty("班次名称")
|
private String name;
|
@ApiModelProperty("班次数量")
|
private Integer shiftNumber;
|
@ApiModelProperty("班次颜色")
|
private String colour;
|
@ApiModelProperty("班次日开始时间")
|
private Integer startTime;
|
@ApiModelProperty("班次日结束时间")
|
private Integer endTime;
|
@ApiModelProperty("租户Id")
|
private String tenantId;
|
@ApiModelProperty("是否默认")
|
private Integer isDefault;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setShiftNumber(final Integer shiftNumber) {
|
this.shiftNumber = shiftNumber;
|
}
|
|
public void setColour(final String colour) {
|
this.colour = colour;
|
}
|
|
public void setStartTime(final Integer startTime) {
|
this.startTime = startTime;
|
}
|
|
public void setEndTime(final Integer endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setIsDefault(final Integer isDefault) {
|
this.isDefault = isDefault;
|
}
|
|
public String toString() {
|
return "ShiftModel(code=" + getCode() + ", name=" + getName() + ", shiftNumber=" + getShiftNumber() + ", colour=" + getColour() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", tenantId=" + getTenantId() + ", isDefault=" + getIsDefault() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ShiftModel) {
|
ShiftModel other = (ShiftModel) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$shiftNumber = getShiftNumber();
|
Object other$shiftNumber = other.getShiftNumber();
|
if (this$shiftNumber == null) {
|
if (other$shiftNumber != null) {
|
return false;
|
}
|
} else if (!this$shiftNumber.equals(other$shiftNumber)) {
|
return false;
|
}
|
Object this$startTime = getStartTime();
|
Object other$startTime = other.getStartTime();
|
if (this$startTime == null) {
|
if (other$startTime != null) {
|
return false;
|
}
|
} else if (!this$startTime.equals(other$startTime)) {
|
return false;
|
}
|
Object this$endTime = getEndTime();
|
Object other$endTime = other.getEndTime();
|
if (this$endTime == null) {
|
if (other$endTime != null) {
|
return false;
|
}
|
} else if (!this$endTime.equals(other$endTime)) {
|
return false;
|
}
|
Object this$isDefault = getIsDefault();
|
Object other$isDefault = other.getIsDefault();
|
if (this$isDefault == null) {
|
if (other$isDefault != null) {
|
return false;
|
}
|
} else if (!this$isDefault.equals(other$isDefault)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$colour = getColour();
|
Object other$colour = other.getColour();
|
if (this$colour == null) {
|
if (other$colour != null) {
|
return false;
|
}
|
} else if (!this$colour.equals(other$colour)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
return this$tenantId == null ? other$tenantId == null : this$tenantId.equals(other$tenantId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ShiftModel;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $shiftNumber = getShiftNumber();
|
int result2 = (result * 59) + ($shiftNumber == null ? 43 : $shiftNumber.hashCode());
|
Object $startTime = getStartTime();
|
int result3 = (result2 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
int result4 = (result3 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $isDefault = getIsDefault();
|
int result5 = (result4 * 59) + ($isDefault == null ? 43 : $isDefault.hashCode());
|
Object $code = getCode();
|
int result6 = (result5 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $colour = getColour();
|
int result8 = (result7 * 59) + ($colour == null ? 43 : $colour.hashCode());
|
Object $tenantId = getTenantId();
|
return (result8 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getShiftNumber() {
|
return this.shiftNumber;
|
}
|
|
public String getColour() {
|
return this.colour;
|
}
|
|
public Integer getStartTime() {
|
return this.startTime;
|
}
|
|
public Integer getEndTime() {
|
return this.endTime;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public Integer getIsDefault() {
|
return this.isDefault;
|
}
|
}
|