package org.jeecg.modules.dnc.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
import org.jeecg.common.aspect.annotation.Dict;
|
|
import java.util.Date;
|
/**
|
* @Description: 文档
|
* @author clown
|
*/
|
@Data
|
@NoArgsConstructor
|
@TableName(value = "nc_doc_info")
|
public class DocInfo {
|
@TableId(value = "doc_id")
|
private String docId;
|
@TableField(value = "doc_name")
|
private String docName;
|
@TableField(value = "doc_alias")
|
private String docAlias;
|
@TableField(value = "doc_code")
|
private String docCode;
|
@TableField(value = "doc_suffix")
|
private String docSuffix;
|
@TableField(value = "doc_status")
|
@Dict(dicCode = "dnc_product_status")
|
private Integer docStatus;
|
@TableField(value = "doc_dispatch_status")
|
@Dict(dicCode = "nc_doc_dispatch_status")
|
private Integer docDispatchStatus;
|
@TableField(value = "publish_file_id")
|
private String publishFileId;
|
@TableField(value = "publish_version")
|
private String publishVersion;
|
@TableField(value = "description")
|
private String description;
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
@TableField(value = "update_time", fill = FieldFill.UPDATE)
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
private Date updateTime;
|
@TableField(value = "create_by",fill = FieldFill.INSERT)
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String createBy;
|
@TableField(value = "update_by", fill = FieldFill.UPDATE)
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String updateBy;
|
@JsonIgnore
|
@TableLogic
|
@TableField(value = "delete_flag", select = false)
|
private Integer deleteFlag = 0;
|
|
@TableField(exist = false)
|
private String docClassCode;
|
@TableField(exist = false)
|
@Dict(dicCode = "dnc_pull_status")
|
private Integer pullStatus;
|
@TableField(exist = false)
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String pullUser;
|
@TableField(exist = false)
|
private Integer attributionType;
|
@TableField(exist = false)
|
private String attributionId;
|
@TableField(exist = false)
|
private String classificationId;
|
//同步状态 1 未同步 2 已同步
|
@TableField(exist = false)
|
@Dict(dicCode = "dnc_doc_sync_status")
|
private Integer syncStatus;
|
|
}
|