BUGFIX: sketchBoard upload checkMd5校验;
TASK: 分类;
This commit is contained in:
15
src/main/java/com/ai/da/mapper/ClassificationMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/ClassificationMapper.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.ChatRobot;
|
||||
import com.ai.da.mapper.entity.Classification;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-25
|
||||
*/
|
||||
public interface ClassificationMapper extends CommonMapper<Classification> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Classification;
|
||||
import com.ai.da.mapper.entity.ClassificationRelLibrary;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-25
|
||||
*/
|
||||
public interface ClassificationRelLibraryMapper extends CommonMapper<ClassificationRelLibrary> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.ai.da.mapper.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("classification_rel_library")
|
||||
public class ClassificationRelLibrary implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private Long classificationId;
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private Long libraryId;
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
@ApiModelProperty(value = "是否删除1:是0:否")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user