class filed类型错误修正

This commit is contained in:
fanghongchao
2018-12-24 13:48:38 +08:00
parent cab7ae17a0
commit 7791bbf4d4
2 changed files with 21 additions and 8 deletions
@@ -1,7 +1,5 @@
package com.gzzn.omms.adminapi.domain.secondary.entity.baiscdata; package com.gzzn.omms.adminapi.domain.secondary.entity.baiscdata;
import java.math.BigDecimal;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
@@ -29,6 +27,23 @@ public class OrmsStandType {
private String standType; //停机位类别 可取值:bridge-靠桥机位、remote-远机位、near-近机位、night-过夜机位、specific-专机位... private String standType; //停机位类别 可取值:bridge-靠桥机位、remote-远机位、near-近机位、night-过夜机位、specific-专机位...
@Column(name="STAND_TYPE_DESC") @Column(name="STAND_TYPE_DESC")
private BigDecimal standTypeDesc; //停机位类别说明 可取值:靠桥机位、远机位、近机位、过夜机位、专机位 private String standTypeDesc; //停机位类别说明 可取值:靠桥机位、远机位、近机位、过夜机位、专机位
public String getStandType() {
return standType;
}
public void setStandType(String standType) {
this.standType = standType;
}
public String getStandTypeDesc() {
return standTypeDesc;
}
public void setStandTypeDesc(String standTypeDesc) {
this.standTypeDesc = standTypeDesc;
}
} }
@@ -3,8 +3,6 @@ package com.gzzn.omms.adminapi.dto.basicdata;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
/** /**
* 停机位类别 * 停机位类别
@@ -18,7 +16,7 @@ public class OrmsStandTypeDto {
private String standType; //停机位类别 可取值:bridge-靠桥机位、remote-远机位、near-近机位、night-过夜机位、specific-专机位... private String standType; //停机位类别 可取值:bridge-靠桥机位、remote-远机位、near-近机位、night-过夜机位、specific-专机位...
@ApiModelProperty(value="停机位类别说明 可取值:靠桥机位、远机位、近机位、过夜机位、专机位",example="靠桥机位") @ApiModelProperty(value="停机位类别说明 可取值:靠桥机位、远机位、近机位、过夜机位、专机位",example="靠桥机位")
private BigDecimal standTypeDesc; //停机位类别说明 可取值:靠桥机位、远机位、近机位、过夜机位、专机位 private String standTypeDesc; //停机位类别说明 可取值:靠桥机位、远机位、近机位、过夜机位、专机位
public String getStandType() { public String getStandType() {
return standType; return standType;
@@ -28,11 +26,11 @@ public class OrmsStandTypeDto {
this.standType = standType; this.standType = standType;
} }
public BigDecimal getStandTypeDesc() { public String getStandTypeDesc() {
return standTypeDesc; return standTypeDesc;
} }
public void setStandTypeDesc(BigDecimal standTypeDesc) { public void setStandTypeDesc(String standTypeDesc) {
this.standTypeDesc = standTypeDesc; this.standTypeDesc = standTypeDesc;
} }