package com.fdkanfang.domain.backend;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fdkanfang.common.model.BaseModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 场景表
 */
@Data
@Table(name = "t_scene_pro_edit")
public class SceneProEditEntity extends BaseModel implements Serializable {

    private static final long serialVersionUID = 661912133849676944L;

    @Column(name = "pro_id")
    private Long proId;
    /**
     * 大场景的密钥
     */
    @Column(name = "scene_key")
    private String sceneKey;
    /**
     * 版本
     */
    @Column(name = "version")
    private int version;
    /**
     * 表示缩略图是否存在
     */
    @Column(name = "thumb_status")
    private int thumbStatus;
    /**
     * 0表示默认，1表示自己上传
     */
    @Column(name = "floor_logo")
    private String floorLogo;
    /**
     * 标记大小
     */
    @Column(name = "floor_logo_size")
    private int floorLogoSize;
    /**
     * 表示初始点信息
     */
    @Column(name = "entry")
    private String entry;
    /**
     * 要上传的热点的id集合，用逗号隔开
     */
    @Column(name = "hots_ids")
    private String hotsIds;
    /**
     * 背景音乐名称
     */
    @Column(name = "bg_music")
    private String bgMusic;
    /**
     * 普通录屏文件地址
     */
    @Column(name = "screencap_voice_src")
    private String screencapVoiceSrc;

    /**
     * 录音文件地址
     */
    @Column(name = "screencap_voice_sound")
    private String screencapVoiceSound;

    /**
     * 同步录音文件地址
     */
    @Column(name = "screencap_voice_soundsync")
    private String screencapVoiceSoundsync;

    /**
     * 选择的类型，sound为screencapVoiceSound，file为screencapVoiceSrc
     */
    @Column(name = "screencap_voice_type")
    private String screencapVoiceType;

    /**
     * 录屏文件地址
     */
    @Column(name = "play_data")
    private String playData;


    /**
     * 重新建模的版本
     */
    @Column(name = "floor_edit_ver")
    private int floorEditVer;

    /**
     * 正式发布重新建模的版本
     */
    @Column(name = "floor_publish_ver")
    private int floorPublishVer;

    /**
     * 录屏图片
     */
    @Column(name = "screencap_thumb")
    private String screencapThumb;

    /**
     * 分享的logo和生成二维码的logo
     */
    @Column(name = "share_logo")
    private String shareLogo;

    /**
     * 小地图浏览
     */
    @Column(name = "map_visi")
    private int mapVisi;

    /**
     * 自动导览
     */
    @Column(name = "tour_visi")
    private int tourVisi;

    /**
     * vr模式
     */
    @Column(name = "vr_visi")
    private int vrVisi;

    /**
     * 展示页面是否显示标尺
     */
    @Column(name = "ruler_visi")
    private int rulerVisi;

    /**
     * 展示页面cad图在平面图是否显示
     */
    @Column(name = "cad_img_visi")
    private int cadImgVisi;

    /**
     * cad平面图
     */
    @Column(name = "floor_plan_png")
    private String floorPlanPng;

    /**
     * cad平面图参数
     */
    @Column(name = "cad_info")
    private String cadInfo;

    @Column(name = "pano_visi")
    private int panoVisi;

    @Column(name = "m2d_visi")
    private int m2dVisi;

    @Column(name = "m3d_visi")
    private int m3dVisi;

    @Column(name = "measure_visi")
    private int measureVisi;
}
