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

import com.baomidou.mybatisplus.annotation.*;

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

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author SHAHAIBO
 * @since 2023-08-01
 */
@Data
@ApiModel(value = "Workspace对象", description = "Workspace对象")
@TableName("workspace")
public class Workspace implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 工作空间名称
     */
    @ApiModelProperty(value = "工作空间名称")
    private String workSpaceName;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long accountId;
    /**
     * 年龄段 Adult || Child
     */
    private String ageGroup;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private String sex;
    /**
     * 服装部位
     */
    @ApiModelProperty(value = "服装部位")
    private String position;
    /**
     * SYSTEM_DESIGNER占比
     */
    @ApiModelProperty(value = "SYSTEM_DESIGNER占比")
    private Integer systemDesignerPercentage;
    /**
     * 人体模型
     */
    @ApiModelProperty(value = "人体模型ID")
    private Long mannequinFemaleId;
    private Long mannequinMaleId;
    private Long mannequinChildId;
    /**
     * 人体模型
     */
    @ApiModelProperty(value = "人体模型类型")
    private String mannequinFemaleType;
    private String mannequinMaleType;
    private String mannequinChildType;
    /**
     * 最后使用的工作空间标识
     */
    @ApiModelProperty(value = "最后使用的工作空间标识")
    private Integer isLastIndex;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    /**
     * 是否删除
     */
    @TableLogic
    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

    private Long projectId;

    private Long userBrandDna;

    private Integer brandPercentage;


}
