细节优化

yun-zuoyi
汪云昊 6 years ago
parent bdd2d05388
commit e514479f00

@ -16,8 +16,8 @@ public class BlockFormEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum FORM_TABLE_TYPE {
TABLE(1, "table", "表"),
VIEW(2, "view", "视图");
TABLE(1, "TABLE", "表"),
VIEW(2, "*", "视图");
private int value;
private String code;

@ -11,10 +11,7 @@ import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
import java.util.List;
/**
@ -49,9 +46,14 @@ public class BfElementPropertyVirtual extends BaseBean {
private String propertyCode;
@Column(name="PROPERTY_NAME")
@ApiParam(value ="虚拟属性名称")
@ApiParam(value ="显示名称")
private String propertyName;
@Lob
@Column(name="PROPERTY_CODES")
@ApiParam(value ="属性代码")
private String propertyCodes;
@Column(name="PROPERTY_TYPE")
@ApiParam(value ="属性类型")
private Integer propertyType;

Loading…
Cancel
Save