using CloudGaming.DtoModel.JY;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudGaming.DtoModel.PlayGame
{
    /// <summary>
    /// 用户玩游戏时操作
    /// </summary>
    public class PlayGameUserOperation
    {
        public PlayGameUserOperation()
        {
        }
        public PlayGameUserOperation(IJYApiRespnse? jYApiRespnse)
        {
            RequestContent = jYApiRespnse?.RequestStr;
            ResponseContent = jYApiRespnse?.ResponseContent;
            TotalMilliseconds = jYApiRespnse?.TotalMilliseconds;
        }

        /// <summary>
        /// 动作id
        /// </summary>
        public int ActionId { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperationDateTime { get; set; }

        /// <summary>
        /// 操作内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 请求内容
        /// </summary>
        public string RequestContent { get; set; }

        /// <summary>
        /// 返回内容
        /// </summary>
        public string ResponseContent { get; set; }

        /// <summary>
        /// 请求耗时
        /// </summary>
        public string TotalMilliseconds { get; set; }
    }
}
