﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace Unity.Ugc.Model
{
    public class BaseMeta
    {
        [JsonProperty(PropertyName = "name")]
        public string Name { get; set; }
        
        [JsonProperty(PropertyName = "author")]
        public string Author { get; set; }
        
        [JsonProperty(PropertyName = "description")]
        public string Description { get; set; }
        
        [JsonProperty(PropertyName = "cover")]
        public string Cover { get; set; }
        
        [JsonProperty(PropertyName = "gallery")]
        public List<string> Gallery { get; set; }
        
        [JsonProperty(PropertyName = "properties")]
        public Dictionary<string, string> Properties { get; set; }
        
        [JsonProperty(PropertyName = "last_updated")]
        public string LastUpdated { get; set; }
        
        [JsonProperty(PropertyName = "version_id")]
        public string VersionId { get; set; }
        
        
        public BaseMeta()
        {
            Name = "";
            Author = "";
            Description = "";
            Cover = "";
            Gallery = new List<string>();
            Properties = new Dictionary<string, string>();
            LastUpdated = "";
            VersionId = "";
        }
    }
}