package com.ai.da.mapper.primary.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;
import lombok.experimental.Accessors;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
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")
@Schema(description = "collection和element的关联表")
public class TCollectionElementRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "element ID")
    private Long elementId;

    @Schema(description = "colletion ID class类型为COLLECTION 存 其他默认是0")
    private Long collectionId;

    @Schema(description = "创建时间")
    private Date createDate;


}
