skyouc
2025-05-10 0345d3175861c5612e937487770a5ba4e8468b14
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;
@@ -72,7 +74,6 @@
     * 是否删除 1: 是  0: 否  
     */
    @ApiModelProperty(value= "是否删除 1: 是  0: 否  ")
    @TableLogic
    private Integer deleted;
    /**
@@ -92,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;
    /**
@@ -105,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;
    /**
@@ -149,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);
        }