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.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.poi.hpsf.Decimal;

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

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

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

    private String name;

    private Long projectId;

    private Long collectionId;

    private Long designId;

    private String buildType;

    private Integer nums;

    private Integer completedNum;

    private Integer costCredits;

    private Integer status;

    private String taskId;

    private LocalDateTime createTime;

    private LocalDateTime startTime;

    private LocalDateTime updateTime;

    private Long accountId;
}