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 io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("design_batch")
public class DesignBatch implements Serializable {
    private static final long serialVersionUID = 1L;

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

    private Long accountId; // account_id

    private Long designId; // design_id

    private Long collectionId; // collection_id

    private Integer status; // status

    private LocalDateTime createTime; // create_time

    private LocalDateTime updateTime; // update_time

    private String taskId; // task_id

    private Integer totalNum; // total_num

    private Integer completedNum; // completed_num
}
