zjj
6 天以前 256c59555e2a5dffdd6d127a519d4f0944b80e7f
rsf-server/src/main/java/com/vincent/rsf/server/system/entity/Fields.java
@@ -4,6 +4,8 @@
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -59,6 +61,9 @@
    @ApiModelProperty(value= "是否启用 0:  不启用   1:  启用  ")
    private Short flagEnable;
    @ApiModelProperty("数据类型")
    private String varType;
    /**
     * 状态 1: 正常  0: 冻结  
     */
@@ -69,7 +74,6 @@
     * 是否删除 1: 是  0: 否  
     */
    @ApiModelProperty(value= "是否删除 1: 是  0: 否  ")
    @TableLogic
    private Integer deleted;
    /**
@@ -89,6 +93,7 @@
     */
    @ApiModelProperty(value= "添加时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
@@ -102,6 +107,7 @@
     */
    @ApiModelProperty(value= "修改时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
@@ -146,9 +152,9 @@
        if (null == this.unique){ return null; }
        switch (this.unique){
            case 0:
                return " 非唯一";
                return "主数据";
            case   1:
                return "  唯一";
                return "业务数据";
            default:
                return String.valueOf(this.unique);
        }