
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.v3.oas.annotations.media.Schema;

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

    private static final long serialVersionUID = 1L;

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

    private Long projectId;

    private Long userBrandDna;

    private Integer brandPercentage;


}
