zhangherong
2025-06-25 23855599412c4d61b38d78f0f3abd3430a48b5b1
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DocInfo.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,95 @@
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)
    @Dict(dicCode = "nc_doc_relative_attribution_type")
    private Integer attributionType;
    @TableField(exist = false)
    private String attributionId;
    @TableField(exist = false)
    @Dict(dictTable = "nc_doc_classification", dicCode = "classification_id", dicText = "classification_code")
    private String classificationId;
    //同步状态 1 æœªåŒæ­¥ 2 å·²åŒæ­¥
    @TableField(exist = false)
    @Dict(dicCode = "dnc_doc_sync_status")
    private Integer syncStatus;
    //所属节点名称
    @TableField(exist = false)
    private String nodeName;
    //所属节点代号
    @TableField(exist = false)
    private String nodeCode;
    //所属节点id
    @TableField(exist = false)
    private String nodeId;
    //设备类名称
    @TableField(exist = false)
    private String deviceName;
    //设备类分级
    @TableField(exist = false)
    private String deviceCode;
}