package com.reading.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Task Target Entity
 */
@Data
@TableName("task_targets")
public class TaskTarget {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long taskId;

    private String targetType;

    private Long targetId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableLogic
    private Integer deleted;

}
