using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace CommonEntity
{
    public class LogBase
    {
        public ObjectId _id { get; set; }
        public string? MessageId { get; set; }

        public string HotelCode { get; set; }
        public string RoomNum { get; set; }

        public string MessageType { get; set; }

        public DataContext Context { get; set; }

        public DateTime CreateDateTime { get; set; }
    }
    public class DataContext
    {
        public string Data { get; set; }
        public int Age { get; set; }
    }
}
