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

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

import java.io.Serializable;
import java.util.Date;

/**
 * Attendance
 *
 * @author easy-generator
 * @since 2022-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_design_item")
public class DesignItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户ID
     */
    private Long accountId;
    /**
     * collectionId
     */
    private Long collectionId;
    /**
     * designId
     */
    private Long designId;

    /**
     * print scale值
     */
    private String printScale;

    /**
     * design后的用户文件地址(python 返回)
     */
    private String designUrl;

    /**
     * 二次(高级,基础design的图再次design)design后的用户文件地址(python 返回)
     */
    private String highDesignUrl;
    /**
     * 是否like 0 否 1是
     */
    @TableField("is_like")
    private Byte hasLike;

    private Long modelId;

    private String modelType;

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

    /**
     * 更新时间
     */
    private Date updateDate;
}
