提交 967698b7 authored 作者: ww1xhqc's avatar ww1xhqc

[数据模型] 修改一个大写问题

上级 4c462790
......@@ -9,6 +9,7 @@ import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.*;
import java.io.Serializable;
/**
* @ClassName ColumnInfo
......@@ -22,7 +23,7 @@ import javax.persistence.*;
@Data
@SQLDelete(sql = "update column_info set deleted = 1 where id = ?")
@Where(clause = "deleted = 0")
public class ColumnInfo extends BaseEntity {
public class ColumnInfo extends BaseEntity implements Serializable {
/**
* 是否primary key, 0是,1否
......@@ -34,7 +35,7 @@ public class ColumnInfo extends BaseEntity {
private String fieldName;
@ApiModelProperty("修改后的新列名")
private String NewFieldName;
private String newFieldName;
@ApiModelProperty("列名中文描述")
private String fieldTitle;
......@@ -48,5 +49,4 @@ public class ColumnInfo extends BaseEntity {
private Integer dbId;
}
......@@ -39,7 +39,7 @@ public class TableInfo extends BaseEntity implements Serializable {
private String description;
/**
*0是扫描,1是自建
*0是扫描,1是自建,2基础对象转变的业务对象
*/
@ApiModelProperty("建表类型")
private Integer modelType;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论