package com.ai.da.mapper.primary.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.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;


}
