refactor(modules): 拆分多模块工程并收口common基础模块
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.bruce.skill.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.bruce.common.domain.model.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* Skill 定义实体,对应 skill_definition 表。
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("skill_definition")
|
||||
public class SkillDefinition extends BaseEntity {
|
||||
|
||||
private String skillCode;
|
||||
|
||||
private String skillName;
|
||||
|
||||
private String skillType;
|
||||
|
||||
private String description;
|
||||
|
||||
private String status;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.bruce.skill.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.bruce.common.domain.model.BaseEntity;
|
||||
import com.bruce.common.typehandler.PgJsonbStringTypeHandler;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* Skill 版本实体,用于保存 Prompt、Code、配置和测试结果。
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("skill_version")
|
||||
public class SkillVersion extends BaseEntity {
|
||||
|
||||
private Long skillId;
|
||||
|
||||
private Integer versionNo;
|
||||
|
||||
private String promptText;
|
||||
|
||||
private String codeText;
|
||||
|
||||
@TableField(typeHandler = PgJsonbStringTypeHandler.class)
|
||||
private String configJson;
|
||||
|
||||
@TableField(typeHandler = PgJsonbStringTypeHandler.class)
|
||||
private String variableSchemaJson;
|
||||
|
||||
@TableField(typeHandler = PgJsonbStringTypeHandler.class)
|
||||
private String testResultJson;
|
||||
|
||||
private String publishStatus;
|
||||
|
||||
private java.time.LocalDateTime publishedTime;
|
||||
}
|
||||
Reference in New Issue
Block a user