using Mall.Model.Entity.AppletWeChat;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;

namespace Mall.Model.Extend.AppletWeChat
{
    public class RB_Live_House_Extend
    {
        /// <summary>
        /// errcode = 0 代表成功；errcode = 1 代表未创建直播房间
        /// </summary>
        public string errcode { get; set; }


        public string errmsg { get; set; }


        public List<RB_Live_House> room_info { get; set; }

        /// <summary>
        /// 房间总数
        /// </summary>
        public string total { get; set; }
    }

    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Live_HouseExtension_Extend: RB_Live_House
    {
        /// <summary>
        /// 推广图片
        /// </summary>
        public string ExtensionImg { get; set; }

        public int HouseImgID { get; set; }
    }



    /// <summary>
    /// 回放结果
    /// </summary>
    public class PlayBack
    {
        public List<LiveReplay> live_replay { get; set; }
        public string errcode { get; set; }
        public int total { get; set; }

        public string errmsg { get; set; }



    }


    public class LiveReplay
    {
        /// <summary>
        /// 回放视频url过期时间
        /// </summary>
        public string expire_time { get; set; }
        /// <summary>
        /// 回放视频创建时间
        /// </summary>
        public string create_time { get; set; }
        /// <summary>
        /// 回放视频链接
        /// </summary>
        public string media_url { get; set; }
    }
}
