104 lines
2.7 KiB
Java
104 lines
2.7 KiB
Java
package com.rj.entity;
|
||
|
||
import com.baomidou.mybatisplus.annotation.TableField;
|
||
import com.baomidou.mybatisplus.annotation.TableId;
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import io.swagger.v3.oas.annotations.media.Schema;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
import java.io.Serializable;
|
||
import java.time.LocalDateTime;
|
||
|
||
/**
|
||
* 知识库管理(表 script_management_my)
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = false)
|
||
@TableName("script_management_my")
|
||
@Schema(description = "知识库管理(script_management_my)")
|
||
public class ScriptManagementMy implements Serializable {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
@Schema(description = "主键ID,UUID")
|
||
@TableId("id")
|
||
private String id;
|
||
|
||
@Schema(description = "租户id")
|
||
@TableField("tenant_id")
|
||
private String tenantId;
|
||
|
||
@Schema(description = "知识标题")
|
||
@TableField("title")
|
||
private String title;
|
||
|
||
@Schema(description = "知识分类")
|
||
@TableField("category")
|
||
private String category;
|
||
|
||
@Schema(description = "应用行业")
|
||
@TableField("industry")
|
||
private String industry;
|
||
|
||
@Schema(description = "问题")
|
||
@TableField("question")
|
||
private String question;
|
||
|
||
@Schema(description = "知识内容")
|
||
@TableField("answer_content")
|
||
private String answerContent;
|
||
|
||
@Schema(description = "详细分解")
|
||
@TableField("detailed_breakdown")
|
||
private String detailedBreakdown;
|
||
|
||
@Schema(description = "使用场景")
|
||
@TableField("usage_scenario")
|
||
private String usageScenario;
|
||
|
||
@Schema(description = "创建人")
|
||
@TableField("creator")
|
||
private String creator;
|
||
|
||
@Schema(description = "创建时间")
|
||
@TableField("create_time")
|
||
private LocalDateTime createTime;
|
||
|
||
@Schema(description = "更新时间")
|
||
@TableField("update_time")
|
||
private LocalDateTime updateTime;
|
||
|
||
@Schema(description = "状态:已发布、草稿、已下架")
|
||
@TableField("status")
|
||
private String status;
|
||
|
||
@Schema(description = "浏览次数")
|
||
@TableField("view_count")
|
||
private Integer viewCount;
|
||
|
||
@Schema(description = "点赞次数")
|
||
@TableField("like_count")
|
||
private Integer likeCount;
|
||
|
||
@Schema(description = "标签,多个用逗号分隔")
|
||
@TableField("tags")
|
||
private String tags;
|
||
|
||
@Schema(description = "附件URL")
|
||
@TableField("attachment_url")
|
||
private String attachmentUrl;
|
||
|
||
@Schema(description = "排序权重")
|
||
@TableField("sort_order")
|
||
private Integer sortOrder;
|
||
|
||
@Schema(description = "是否置顶:0否,1是")
|
||
@TableField("is_top")
|
||
private Boolean isTop;
|
||
|
||
@Schema(description = "备注")
|
||
@TableField("remark")
|
||
private String remark;
|
||
}
|