/**
 *@Generated by sagacity-quickvo 5.0
 */
package cn.pojo.atv;

import java.io.Serializable;
import cn.orm.sqltoy.config.annotation.Entity;
import cn.orm.sqltoy.config.annotation.Id;
import cn.orm.sqltoy.config.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="AtvKnowledge")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_knowledge",comment="",pk_constraint="PRIMARY")
public class AtvKnowledge implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7287576619059126217L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="id",description="主键",nullable=false)
	@Id(strategy="generator",generator="cn.orm.sqltoy.plugins.id.impl.NanoTimeIdGenerator")
	@Column(name="id",comment="主键",length=36L,type=java.sql.Types.VARCHAR,nullable=false)
	private String id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="createBy",description="创建人",nullable=true)
	@Column(name="create_by",comment="创建人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String createBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="createTime",description="创建日期",nullable=true)
	@Column(name="create_time",comment="创建日期",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime createTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="updateBy",description="更新人",nullable=true)
	@Column(name="update_by",comment="更新人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String updateBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="updateTime",description="更新日期",nullable=true)
	@Column(name="update_time",comment="更新日期",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime updateTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="sysOrgCode",description="所属部门",nullable=true)
	@Column(name="sys_org_code",comment="所属部门",length=64L,type=java.sql.Types.VARCHAR,nullable=true)
	private String sysOrgCode;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="title",description="标题",nullable=true)
	@Column(name="title",comment="标题",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String title;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="keyword",description="关键字",nullable=true)
	@Column(name="keyword",comment="关键字",length=20L,type=java.sql.Types.VARCHAR,nullable=true)
	private String keyword;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="isRelease",description="是否发布",nullable=true)
	@Column(name="is_release",comment="是否发布",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer isRelease;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="knowledgeType",description="知识类型(文字、文件、链接、故障单)",nullable=true)
	@Column(name="knowledge_type",comment="知识类型(文字、文件、链接、故障单)",length=10L,defaultValue="1",type=java.sql.Types.INTEGER,nullable=true)
	private Integer knowledgeType;
	
	/**
	 * jdbcType:TEXT
	 */
	@Schema(name="text",description="文本",nullable=true)
	@Column(name="text",comment="文本",length=65535L,type=java.sql.Types.VARCHAR,nullable=true)
	private String text;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="link",description="文件链接",nullable=true)
	@Column(name="link",comment="文件链接",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String link;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="url",description="网址",nullable=true)
	@Column(name="url",comment="网址",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String url;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="boardCardFaultId",description="板卡故障单(atv_board_card_fault.id)",nullable=true)
	@Column(name="board_card_fault_id",comment="板卡故障单(atv_board_card_fault.id)",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String boardCardFaultId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="phenomenon",description="故障现象",nullable=true)
	@Column(name="phenomenon",comment="故障现象",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String phenomenon;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="handleMode",description="处理措施",nullable=true)
	@Column(name="handle_mode",comment="处理措施",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String handleMode;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="handleOutcome",description="处理结果",nullable=true)
	@Column(name="handle_outcome",comment="处理结果",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String handleOutcome;
	
	/** default constructor */
	public AtvKnowledge() {
	}
	
	/** pk constructor */
	public AtvKnowledge(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
