package com.fdkankan.ucenter.vo.response;

import com.fdkankan.ucenter.util.DateUserUtil;
import lombok.Data;

@Data
public class AppSceneVo {
    private Long id;
    private Long cameraId;
    private String childName;
    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;

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

    private Integer sceneSourceType = 0;
    private Long userId;

    private String dataSource;
    private Integer sceneType;

    private String buildType;
    private Integer location;

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