|
@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.*;
|
|
|
|
|
|
+import javax.persistence.Column;
|
|
|
import javax.validation.constraints.PositiveOrZero;
|
|
|
import java.io.Serializable;
|
|
|
|
|
@@ -44,16 +45,22 @@ public class TbVmsLinkIfscDto implements Serializable {
|
|
|
@JsonProperty("end_nm")
|
|
|
private String endNm;
|
|
|
|
|
|
+ @ApiModelProperty("구간 길이") // Y NUMBER(5)
|
|
|
+ @Column(name = "sect_lngt", columnDefinition = "NUMBER", length = 5)
|
|
|
+ private Integer sectLngt;
|
|
|
+
|
|
|
public void setIfscInfo(TbIfsc ifsc) {
|
|
|
if (ifsc == null) {
|
|
|
this.ifscNm = "";
|
|
|
this.strtNm = "";
|
|
|
this.endNm = "";
|
|
|
+ this.sectLngt = 0;
|
|
|
}
|
|
|
else {
|
|
|
this.ifscNm = ifsc.getIfscNm();
|
|
|
this.strtNm = ifsc.getStrtNm();
|
|
|
this.endNm = ifsc.getEndNm();
|
|
|
+ this.sectLngt = ifsc.getSectLngt();
|
|
|
}
|
|
|
}
|
|
|
// Code Description Field
|