초기커밋
This commit is contained in:
83
ServerCommon/MetaAssets/MetaTable/RentalfeeData.cs
Normal file
83
ServerCommon/MetaAssets/MetaTable/RentalfeeData.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
// <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 RentalfeeDataMutable
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public int Id { get; set; }
|
||||
[JsonProperty("EditorInfo")]
|
||||
public EditorType EditorInfo { get; set; }
|
||||
[JsonProperty("SizeCategory")]
|
||||
public SizeType SizeCategory { get; set; }
|
||||
[JsonProperty("CurrencyType")]
|
||||
public int CurrencyType { get; set; }
|
||||
[JsonProperty("CurrencyValue")]
|
||||
public double CurrencyValue { get; set; }
|
||||
[JsonProperty("CustomMinRentalValue")]
|
||||
public double CustomMinRentalValue { get; set; }
|
||||
[JsonProperty("DutyRate")]
|
||||
public double DutyRate { get; set; }
|
||||
[JsonProperty("RentalReward")]
|
||||
public int RentalReward { get; set; }
|
||||
[JsonProperty("RentalQuantity")]
|
||||
public int RentalQuantity { get; set; }
|
||||
}
|
||||
|
||||
public partial class RentalfeeDataTableMutable
|
||||
{
|
||||
[JsonProperty("RentalfeeDataList")]
|
||||
public IList<RentalfeeDataMutable> RentalfeeDataList { get; set; }
|
||||
}
|
||||
|
||||
//////////////////////////////
|
||||
// readonly class
|
||||
//////////////////////////////
|
||||
public partial class RentalfeeData
|
||||
{
|
||||
public readonly int Id;
|
||||
public readonly EditorType EditorInfo;
|
||||
public readonly SizeType SizeCategory;
|
||||
public readonly int CurrencyType;
|
||||
public readonly double CurrencyValue;
|
||||
public readonly double CustomMinRentalValue;
|
||||
public readonly double DutyRate;
|
||||
public readonly int RentalReward;
|
||||
public readonly int RentalQuantity;
|
||||
public RentalfeeData(RentalfeeDataMutable data)
|
||||
{
|
||||
Id = data.Id;
|
||||
EditorInfo = data.EditorInfo;
|
||||
SizeCategory = data.SizeCategory;
|
||||
CurrencyType = data.CurrencyType;
|
||||
CurrencyValue = data.CurrencyValue;
|
||||
CustomMinRentalValue = data.CustomMinRentalValue;
|
||||
DutyRate = data.DutyRate;
|
||||
RentalReward = data.RentalReward;
|
||||
RentalQuantity = data.RentalQuantity;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class RentalfeeDataTable
|
||||
{
|
||||
public readonly IReadOnlyList<RentalfeeData> RentalfeeDataList;
|
||||
public RentalfeeDataTable(RentalfeeDataTableMutable data)
|
||||
{
|
||||
if(data.RentalfeeDataList != null)
|
||||
RentalfeeDataList = data.RentalfeeDataList.Select(x => new RentalfeeData(x)).ToList().AsReadOnly();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user