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.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_detail")
public class DesignItemDetail implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * designId
     */
    private Long designId;

    /**
     * designItemId
     */
    private Long designItemId;

    /**
     * elemntId
     */
    private Long collectionElementId;

    /**
     * 生成item实际对应的类型 有:outwear,dress,blouse,skirt,trousers Shoes Hairstyle Earring Body
     */
    private String type;

    /**
     * 对应的图片的绝对路径
     */
    private String path;

    /**
     * 颜色 存 RGB值 中间空格分隔 比如 "58 58 169"
     */
    private String color;

    private String gradientString;

    /**
     * 对应的print图片的绝对路径
     */
    private String printPath;

    /**
     * 对应的icon的绝对路径
     */
    private String iconPath;

    /**
     * 对应上游业务id
     */
    private Long businessId;

    /**
     * 存储print打点的的参数json对象
     */
    private String printJson;

    /**
     * item的优先级
     */
    private Integer priority;
    /**
     * 未分割的只上了颜色或只有overall印花的图层
     */
    private String undividedLayer;
    /**
     * 未分割的添加了颜色、overall印花和single印花的图
     */
    private String undividedLayerWithSinglePrint;

    /**
     * 局部design 只会有一张图
     */
    private String partialDesign;

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

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

    /**
     * 逻辑删除 1->删除 0->未删除  默认null
     */
    private Byte isDeleted;
}
