update the code until 25 May 2023
This commit is contained in:
LiaoFJ
2023-05-25 14:58:38 +08:00
parent efb2a67b4c
commit 57009998a0
58 changed files with 273 additions and 17 deletions

View File

@@ -0,0 +1,18 @@
package com.ai.da.mapper;
import com.ai.da.common.config.mybatis.plus.CommonMapper;
import com.ai.da.mapper.entity.TCollectionElementRelation;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* collection和element的关联表 Mapper 接口
* </p>
*
* @author yanglei
* @since 2023-05-07
*/
@Mapper
public interface TCollectionElementRelationMapper extends CommonMapper<TCollectionElementRelation> {
}

View File

@@ -0,0 +1,48 @@
package com.ai.da.mapper.entity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
/**
* <p>
* collection和element的关联表
* </p>
*
* @author yanglei
* @since 2023-05-07
*/
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_collection_element_relation")
@ApiModel(value = "TCollectionElementRelation对象", description = "collection和element的关联表")
public class TCollectionElementRelation implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("ID")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@ApiModelProperty("element ID")
private Long elementId;
@ApiModelProperty("colletion ID class类型为COLLECTION 存 其他默认是0")
private Long collectionId;
@ApiModelProperty("创建时间")
private Date createDate;
}