package com.easyproject.service.domain.coze;

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 com.coze.openapi.client.workspace.model.Workspace;
import lombok.Data;
import com.easyproject.common.annotation.Excel;
import com.easyproject.common.core.domain.BaseEntity;

/**
 * 空间设置对象 coze_workspaces_set
 *
 * @author easyproject
 * @date 2025-03-22
 */
@Data
@TableName(value = "coze_workspaces_set")
public class CozeWorkspacesSet extends BaseEntity {

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

    /**
     * 空间ID
     */
    @Excel(name = "空间ID")
    private String spacesId;

    /**
     * 状态（1：启用、2：停用）
     */
    @Excel(name = "状态", readConverterExp = "1=：启用、2：停用")
    private Integer status;

    /**
     * 空间信息
     */
    @TableField(exist = false)
    private Workspace workspace;

    /**
     * 空间设置的智能体信息
     */
    @TableField(exist = false)
    private CozeBotSet botSet;

}
