package com.yutou.biliapi.bean.live;

import com.alibaba.fastjson2.annotation.JSONField;
import com.yutou.common.okhttp.BaseBean;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class FollowLive extends BaseBean {

    @JSONField(name = "rooms")
    List<Room> rooms;
    @JSONField(name = "list")
    List<Room> list;

    @lombok.Data
    public static class Room {
        @JSONField(name = "title")
        private String title;

        @JSONField(name = "room_id")
        private String roomId;

        @JSONField(name = "uid")
        private String uid;

        @JSONField(name = "online")
        private int online;

        @JSONField(name = "live_time")
        private String liveTime;

        @JSONField(name = "live_status")
        private int liveStatus;

        @JSONField(name = "short_id")
        private int shortId;

        @JSONField(name = "area")
        private int area;

        @JSONField(name = "area_name")
        private String areaName;

        @JSONField(name = "area_v2_id")
        private int areaV2Id;

        @JSONField(name = "area_v2_name")
        private String areaV2Name;

        @JSONField(name = "area_v2_parent_name")
        private String areaV2ParentName;

        @JSONField(name = "area_v2_parent_id")
        private int areaV2ParentId;

        @JSONField(name = "uname")
        private String uname;

        @JSONField(name = "face")
        private String face;

        @JSONField(name = "tag_name")
        private String tagName;

        @JSONField(name = "tags")
        private String tags;

        @JSONField(name = "cover_from_user")
        private String coverFromUser;

        @JSONField(name = "keyframe")
        private String keyframe;

        @JSONField(name = "lock_till")
        private String lockTill;

        @JSONField(name = "hidden_till")
        private String hiddenTill;

        @JSONField(name = "broadcast_type")
        private int broadcastType;

        @JSONField(name = "is_encrypt")
        private boolean isEncrypt;

        @JSONField(name = "link")
        private String link;

        @JSONField(name = "nickname")
        private String nickname;

        @JSONField(name = "roomname")
        private String roomName;

        @JSONField(name = "roomid")
        private String roomId2;

        @JSONField(name = "liveTime")
        private long liveTimeLong;
    }


}
