|
|
@ -79,11 +79,44 @@ public class DeviceInfo extends BaseEntity implements Serializable { |
|
|
|
@ApiModelProperty(value = "设备密码") |
|
|
|
private String devicePassword; |
|
|
|
|
|
|
|
@Column(name = "row_No") |
|
|
|
@ApiModelProperty(value = "层数") |
|
|
|
private Integer rowNo; |
|
|
|
|
|
|
|
@Column(name = "area_No") |
|
|
|
@ApiModelProperty(value = "区号") |
|
|
|
private Integer areaNo; |
|
|
|
|
|
|
|
@Column(name = "sum_column_No") |
|
|
|
@ApiModelProperty(value = "总列数") |
|
|
|
private Integer sumColumnNo; |
|
|
|
|
|
|
|
@Column(name = "first_column_No") |
|
|
|
@ApiModelProperty(value = "起始列号") |
|
|
|
private Integer firstColumnNo; |
|
|
|
|
|
|
|
@Column(name = "part_No") |
|
|
|
@ApiModelProperty(value = "节数") |
|
|
|
private Integer partNo; |
|
|
|
|
|
|
|
@Column(name = "storeroom_code") |
|
|
|
@ApiModelProperty(value = "库房代码") |
|
|
|
private String storeroomCode; |
|
|
|
|
|
|
|
@Column(name = "column_row_No") |
|
|
|
@ApiModelProperty(value = "列数") |
|
|
|
private Integer columnRowNo; |
|
|
|
|
|
|
|
@Column(name = "cupboard_No") |
|
|
|
@ApiModelProperty(value = "柜号") |
|
|
|
private Integer cupboardNo; |
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "video_route") |
|
|
|
@ApiModelProperty("视频频道") |
|
|
|
private String videoRoute; |
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "is_notice") |
|
|
|
@ApiModelProperty(value = "下发通知") |
|
|
|
private Boolean isNotice; |
|
|
@ -105,11 +138,11 @@ public class DeviceInfo extends BaseEntity implements Serializable { |
|
|
|
if (this == o) return true; |
|
|
|
if (o == null || getClass() != o.getClass()) return false; |
|
|
|
DeviceInfo that = (DeviceInfo) o; |
|
|
|
return Objects.equals(id, that.id) && Objects.equals(supplierId, that.supplierId) && Objects.equals(storeroomId, that.storeroomId) && Objects.equals(deviceTypeId, that.deviceTypeId) && Objects.equals(deviceSpecParamId, that.deviceSpecParamId) && Objects.equals(deviceId, that.deviceId) && Objects.equals(deviceName, that.deviceName) && Objects.equals(deviceIp, that.deviceIp) && Objects.equals(devicePort, that.devicePort) && Objects.equals(deviceState, that.deviceState) && Objects.equals(deviceAccount, that.deviceAccount) && Objects.equals(devicePassword, that.devicePassword) && Objects.equals(videoRoute, that.videoRoute) && Objects.equals(isNotice, that.isNotice) && Objects.equals(sequence, that.sequence) && Objects.equals(isLinkage, that.isLinkage) && Objects.equals(isCallback, that.isCallback); |
|
|
|
return Objects.equals(id, that.id) && Objects.equals(supplierId, that.supplierId) && Objects.equals(storeroomId, that.storeroomId) && Objects.equals(deviceTypeId, that.deviceTypeId) && Objects.equals(deviceSpecParamId, that.deviceSpecParamId) && Objects.equals(deviceId, that.deviceId) && Objects.equals(deviceName, that.deviceName) && Objects.equals(deviceIp, that.deviceIp) && Objects.equals(devicePort, that.devicePort) && Objects.equals(deviceState, that.deviceState) && Objects.equals(deviceAccount, that.deviceAccount) && Objects.equals(devicePassword, that.devicePassword) && Objects.equals(rowNo, that.rowNo) && Objects.equals(areaNo, that.areaNo) && Objects.equals(sumColumnNo, that.sumColumnNo) && Objects.equals(firstColumnNo, that.firstColumnNo) && Objects.equals(partNo, that.partNo) && Objects.equals(storeroomCode, that.storeroomCode) && Objects.equals(columnRowNo, that.columnRowNo) && Objects.equals(cupboardNo, that.cupboardNo) && Objects.equals(videoRoute, that.videoRoute) && Objects.equals(isNotice, that.isNotice) && Objects.equals(sequence, that.sequence) && Objects.equals(isLinkage, that.isLinkage) && Objects.equals(isCallback, that.isCallback); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public int hashCode() { |
|
|
|
return Objects.hash(id, supplierId, storeroomId, deviceTypeId, deviceSpecParamId, deviceId, deviceName, deviceIp, devicePort, deviceState, deviceAccount, devicePassword, videoRoute, isNotice, sequence, isLinkage, isCallback); |
|
|
|
return Objects.hash(id, supplierId, storeroomId, deviceTypeId, deviceSpecParamId, deviceId, deviceName, deviceIp, devicePort, deviceState, deviceAccount, devicePassword, rowNo, areaNo, sumColumnNo, firstColumnNo, partNo, storeroomCode, columnRowNo, cupboardNo, videoRoute, isNotice, sequence, isLinkage, isCallback); |
|
|
|
} |
|
|
|
} |