72 lines
2.0 KiB
C#
72 lines
2.0 KiB
C#
// <auto-generated>
|
|
// generated using ContentTool. DO NOT EDIT!
|
|
// </auto-generated>
|
|
|
|
using System;
|
|
using System.IO;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Collections.ObjectModel;
|
|
using Newtonsoft.Json.Converters;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace MetaAssets
|
|
{
|
|
#pragma warning disable
|
|
|
|
public partial class BrandMetaDataMutable
|
|
{
|
|
[JsonProperty("ID")]
|
|
public int ID { get; set; }
|
|
[JsonProperty("BrandName")]
|
|
public string BrandName { get; set; }
|
|
[JsonProperty("LogoLeft")]
|
|
public string LogoLeft { get; set; }
|
|
[JsonProperty("LogoCenter")]
|
|
public string LogoCenter { get; set; }
|
|
[JsonProperty("LogoRight")]
|
|
public string LogoRight { get; set; }
|
|
[JsonProperty("LogoText")]
|
|
public string LogoText { get; set; }
|
|
}
|
|
|
|
public partial class BrandMetaTableMutable
|
|
{
|
|
[JsonProperty("BrandMetaDataList")]
|
|
public IList<BrandMetaDataMutable> BrandMetaDataList { get; set; }
|
|
}
|
|
|
|
//////////////////////////////
|
|
// readonly class
|
|
//////////////////////////////
|
|
public partial class BrandMetaData
|
|
{
|
|
public readonly int ID;
|
|
public readonly string BrandName;
|
|
public readonly string LogoLeft;
|
|
public readonly string LogoCenter;
|
|
public readonly string LogoRight;
|
|
public readonly string LogoText;
|
|
public BrandMetaData(BrandMetaDataMutable data)
|
|
{
|
|
ID = data.ID;
|
|
BrandName = data.BrandName;
|
|
LogoLeft = data.LogoLeft;
|
|
LogoCenter = data.LogoCenter;
|
|
LogoRight = data.LogoRight;
|
|
LogoText = data.LogoText;
|
|
}
|
|
}
|
|
|
|
public partial class BrandMetaTable
|
|
{
|
|
public readonly IReadOnlyList<BrandMetaData> BrandMetaDataList;
|
|
public BrandMetaTable(BrandMetaTableMutable data)
|
|
{
|
|
if(data.BrandMetaDataList != null)
|
|
BrandMetaDataList = data.BrandMetaDataList.Select(x => new BrandMetaData(x)).ToList().AsReadOnly();
|
|
}
|
|
}
|
|
|
|
}
|