update 充电桩固件信息表新增适用类型字段

This commit is contained in:
2023-06-30 15:58:40 +08:00
parent d57509205d
commit edb2faafa5
2 changed files with 15 additions and 41 deletions

View File

@@ -2,6 +2,8 @@ package com.jsowell.pile.domain;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@@ -11,6 +13,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* @author jsowell
* @date 2023-06-28
*/
@Getter
@Setter
public class PileFirmwareInfo extends BaseEntity {
private static final long serialVersionUID = 1L;
@@ -37,51 +41,17 @@ public class PileFirmwareInfo extends BaseEntity {
@Excel(name = "路径")
private String filePath;
/**
* 适用类型1-直流2-交流)
*/
@Excel(name = "适用类型")
private String applyType;
/**
* 删除标识0-正常1-删除)
*/
private String delFlag;
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
public String getFilePath() {
return filePath;
}
public void setDelFlag(String delFlag) {
this.delFlag = delFlag;
}
public String getDelFlag() {
return delFlag;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)