package com.fgkj.dto;
|
|
import org.apache.ibatis.type.Alias;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.Objects;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
@Alias("Batt_rtstate")
|
public class Batt_rtstate implements Serializable{
|
private Integer num;
|
private Integer battGroupId;
|
private Integer batt_count;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
|
private Date rec_datetime;
|
private Float online_vol;
|
private Float group_vol;
|
private Float group_curr;
|
private Integer batt_state;
|
private Integer batt_test_type;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
|
private Date batt_test_starttime;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
|
private Date batt_test_recordtime;
|
private Integer batt_test_tlong;
|
private Float batt_test_cap;
|
private Float batt_real_cap;
|
private Float batt_rest_cap;
|
private Integer batt_rest_power1_time;
|
private Integer batt_rest_power2_time;
|
private String note;
|
|
//电池组信息
|
private String stationName;
|
private String stationName1;
|
private String stationName2;
|
private String stationName3;
|
private String stationName4;
|
private String stationName5;
|
private String stationId;
|
|
public Integer getNum() {
|
return num;
|
}
|
|
public void setNum(Integer num) {
|
this.num = num;
|
}
|
|
public Integer getBattGroupId() {
|
return battGroupId;
|
}
|
|
public void setBattGroupId(Integer battGroupId) {
|
this.battGroupId = battGroupId;
|
}
|
|
public Integer getBatt_count() {
|
return batt_count;
|
}
|
|
public void setBatt_count(Integer batt_count) {
|
this.batt_count = batt_count;
|
}
|
|
public Date getRec_datetime() {
|
return rec_datetime;
|
}
|
|
public void setRec_datetime(Date rec_datetime) {
|
this.rec_datetime = rec_datetime;
|
}
|
|
public Float getOnline_vol() {
|
return online_vol;
|
}
|
|
public void setOnline_vol(Float online_vol) {
|
this.online_vol = online_vol;
|
}
|
|
public Float getGroup_vol() {
|
return group_vol;
|
}
|
|
public void setGroup_vol(Float group_vol) {
|
this.group_vol = group_vol;
|
}
|
|
public Float getGroup_curr() {
|
return group_curr;
|
}
|
|
public void setGroup_curr(Float group_curr) {
|
this.group_curr = group_curr;
|
}
|
|
public Integer getBatt_state() {
|
return batt_state;
|
}
|
|
public void setBatt_state(Integer batt_state) {
|
this.batt_state = batt_state;
|
}
|
|
public Integer getBatt_test_type() {
|
return batt_test_type;
|
}
|
|
public void setBatt_test_type(Integer batt_test_type) {
|
this.batt_test_type = batt_test_type;
|
}
|
|
public Date getBatt_test_starttime() {
|
return batt_test_starttime;
|
}
|
|
public void setBatt_test_starttime(Date batt_test_starttime) {
|
this.batt_test_starttime = batt_test_starttime;
|
}
|
|
public Date getBatt_test_recordtime() {
|
return batt_test_recordtime;
|
}
|
|
public void setBatt_test_recordtime(Date batt_test_recordtime) {
|
this.batt_test_recordtime = batt_test_recordtime;
|
}
|
|
public Integer getBatt_test_tlong() {
|
return batt_test_tlong;
|
}
|
|
public void setBatt_test_tlong(Integer batt_test_tlong) {
|
this.batt_test_tlong = batt_test_tlong;
|
}
|
|
public Float getBatt_test_cap() {
|
return batt_test_cap;
|
}
|
|
public void setBatt_test_cap(Float batt_test_cap) {
|
this.batt_test_cap = batt_test_cap;
|
}
|
|
public Float getBatt_real_cap() {
|
return batt_real_cap;
|
}
|
|
public void setBatt_real_cap(Float batt_real_cap) {
|
this.batt_real_cap = batt_real_cap;
|
}
|
|
public Float getBatt_rest_cap() {
|
return batt_rest_cap;
|
}
|
|
public void setBatt_rest_cap(Float batt_rest_cap) {
|
this.batt_rest_cap = batt_rest_cap;
|
}
|
|
public Integer getBatt_rest_power1_time() {
|
return batt_rest_power1_time;
|
}
|
|
public void setBatt_rest_power1_time(Integer batt_rest_power1_time) {
|
this.batt_rest_power1_time = batt_rest_power1_time;
|
}
|
|
public Integer getBatt_rest_power2_time() {
|
return batt_rest_power2_time;
|
}
|
|
public void setBatt_rest_power2_time(Integer batt_rest_power2_time) {
|
this.batt_rest_power2_time = batt_rest_power2_time;
|
}
|
|
public String getNote() {
|
return note;
|
}
|
|
public void setNote(String note) {
|
this.note = note;
|
}
|
|
public String getStationName() {
|
return stationName;
|
}
|
|
public void setStationName(String stationName) {
|
this.stationName = stationName;
|
}
|
|
public String getStationName1() {
|
return stationName1;
|
}
|
|
public void setStationName1(String stationName1) {
|
this.stationName1 = stationName1;
|
}
|
|
public String getStationName2() {
|
return stationName2;
|
}
|
|
public void setStationName2(String stationName2) {
|
this.stationName2 = stationName2;
|
}
|
|
public String getStationName3() {
|
return stationName3;
|
}
|
|
public void setStationName3(String stationName3) {
|
this.stationName3 = stationName3;
|
}
|
|
public String getStationName4() {
|
return stationName4;
|
}
|
|
public void setStationName4(String stationName4) {
|
this.stationName4 = stationName4;
|
}
|
|
public String getStationName5() {
|
return stationName5;
|
}
|
|
public void setStationName5(String stationName5) {
|
this.stationName5 = stationName5;
|
}
|
|
public String getStationId() {
|
return stationId;
|
}
|
|
public void setStationId(String stationId) {
|
this.stationId = stationId;
|
}
|
|
@Override
|
public boolean equals(Object o) {
|
if (this == o) return true;
|
if (o == null || getClass() != o.getClass()) return false;
|
Batt_rtstate that = (Batt_rtstate) o;
|
return Objects.equals(battGroupId, that.battGroupId) && Objects.equals(batt_count, that.batt_count) && Objects.equals(rec_datetime, that.rec_datetime) && Objects.equals(online_vol, that.online_vol) && Objects.equals(group_vol, that.group_vol) && Objects.equals(group_curr, that.group_curr) && Objects.equals(batt_state, that.batt_state) && Objects.equals(batt_test_type, that.batt_test_type) && Objects.equals(batt_test_starttime, that.batt_test_starttime) && Objects.equals(batt_test_recordtime, that.batt_test_recordtime) && Objects.equals(batt_test_tlong, that.batt_test_tlong) && Objects.equals(batt_test_cap, that.batt_test_cap) && Objects.equals(batt_real_cap, that.batt_real_cap) && Objects.equals(batt_rest_cap, that.batt_rest_cap) && Objects.equals(batt_rest_power1_time, that.batt_rest_power1_time) && Objects.equals(batt_rest_power2_time, that.batt_rest_power2_time) && Objects.equals(note, that.note) && Objects.equals(stationName, that.stationName) && Objects.equals(stationName1, that.stationName1) && Objects.equals(stationName2, that.stationName2) && Objects.equals(stationName3, that.stationName3) && Objects.equals(stationName4, that.stationName4) && Objects.equals(stationName5, that.stationName5) && Objects.equals(stationId, that.stationId);
|
}
|
|
@Override
|
public int hashCode() {
|
return Objects.hash(battGroupId, batt_count, rec_datetime, online_vol, group_vol, group_curr, batt_state, batt_test_type, batt_test_starttime, batt_test_recordtime, batt_test_tlong, batt_test_cap, batt_real_cap, batt_rest_cap, batt_rest_power1_time, batt_rest_power2_time, note, stationName, stationName1, stationName2, stationName3, stationName4, stationName5, stationId);
|
}
|
|
@Override
|
public String toString() {
|
return "Batt_rtstate{" +
|
"num=" + num +
|
", battGroupId=" + battGroupId +
|
", batt_count=" + batt_count +
|
", rec_datetime=" + rec_datetime +
|
", online_vol=" + online_vol +
|
", group_vol=" + group_vol +
|
", group_curr=" + group_curr +
|
", batt_state=" + batt_state +
|
", batt_test_type=" + batt_test_type +
|
", batt_test_starttime=" + batt_test_starttime +
|
", batt_test_recordtime=" + batt_test_recordtime +
|
", batt_test_tlong=" + batt_test_tlong +
|
", batt_test_cap=" + batt_test_cap +
|
", batt_real_cap=" + batt_real_cap +
|
", batt_rest_cap=" + batt_rest_cap +
|
", batt_rest_power1_time=" + batt_rest_power1_time +
|
", batt_rest_power2_time=" + batt_rest_power2_time +
|
", note='" + note + '\'' +
|
", stationName='" + stationName + '\'' +
|
", stationName1='" + stationName1 + '\'' +
|
", stationName2='" + stationName2 + '\'' +
|
", stationName3='" + stationName3 + '\'' +
|
", stationName4='" + stationName4 + '\'' +
|
", stationName5='" + stationName5 + '\'' +
|
", stationId='" + stationId + '\'' +
|
'}';
|
}
|
}
|