package com.fdkankan.ucenter.vo.response;

import com.fdkankan.ucenter.util.DateUserUtil;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SceneVo {

    private Long id;
    private Long cameraId;
    private String childName;
    private String cooperationUserId;
    private String cooperationUserName;         //协作者
    private List<Long> cooperationUserIdList;
    private List<String> cooperationUserNameList;         //协作者
    private Integer isFolder;                   //0 场景，1文件夹
    private String num;
    private String sceneName;
    private String sceneDec;
    private String snCode;
    private Integer status;
    private Integer payStatus;
    private String thumb;
    private String webSite;
    private Integer isUpgrade;
    private String createTime;
    private Integer viewCount;
    /**
     * 前端根据这个字段跳转不同的页面
     * v1-edit, v2-editProPC, v3-epc, 空-edit
     */
    private String buildType;

    //文件夹相关
    private String createTimeStr;
    private String name;
    private Long parentId;
    private Long sceneNum;
    private Integer type;

    private Integer sceneType;
    private String userName;

    private Long userId;
    private String sceneScheme;
    private String shootCount;
    private String space;
    private String recommend;
    private String roamingPointUrl;
    private String updateTime;
    private Integer removePortrait;
    private Integer sceneSource;
    private String laserTitle;

    public String getCreateTime() {
        return DateUserUtil.getDayTime(createTime);
    }
}
