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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_generate_cancel")
public class GenerateCancel {

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

    /**
     * 用户ID
     */
    private Long accountId;

    /**
     * 唯一id(任务id)
     */
    private String uniqueId;

    /**
     * 创建时间
     */
    private Date createDate;

    public GenerateCancel(Long accountId, String uniqueId, Date createDate) {
        this.accountId = accountId;
        this.uniqueId = uniqueId;
        this.createDate = createDate;
    }
}
