package com.zhongshu.card.server.core.domain.scene;

import com.zhongshu.card.client.type.DataState;
import com.zhongshu.card.client.type.scene.SceneType;
import com.zhongshu.card.server.core.domain.base.SuperMain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 平台场景信息
 *
 * @author TRX
 * @date 2024/11/21
 */
@Data
@Builder
@Document
@AllArgsConstructor
@NoArgsConstructor
public class SceneInfo extends SuperMain {

    @Schema(description = "场景名称")
    private String name;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "图标")
    private String logo;

    @Schema(description = "类型")
    private SceneType sceneType;

    @Schema(description = "布局尺寸")
    private String layout;

    @Schema(description = "状态")
    private DataState state = DataState.Enable;

}
