/*
* MIT License
*
* Copyright (c) 2018 Clark Yang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#if NEWTONSOFT
using Newtonsoft.Json;
#endif
using System.Collections.Generic;
namespace Loxodon.Framework.Examples.Domains
{
public class CrystalInfo
{
///
/// ID
///
#if NEWTONSOFT
[JsonProperty("id")]
#endif
public int Id { get; protected set; }
///
/// 标识
///
#if NEWTONSOFT
[JsonProperty("sign")]
#endif
public string Sign { get; protected set; }
///
/// 名称
///
#if NEWTONSOFT
[JsonProperty("name")]
#endif
public string Name { get; protected set; }
///
/// 等级
///
#if NEWTONSOFT
[JsonProperty("level")]
#endif
public int Level { get; protected set; }
///
/// 类型
///
#if NEWTONSOFT
[JsonProperty("category")]
#endif
public Category Category { get; protected set; }
///
/// 品质
///
#if NEWTONSOFT
[JsonProperty("quality")]
#endif
public int Quality { get; protected set; }
///
/// 水晶适配装备类型
///
#if NEWTONSOFT
[JsonProperty("equipmentCategorys")]
#endif
public List EquipmentCategorys { get; protected set; }
///
/// 属性名称
///
#if NEWTONSOFT
[JsonProperty("key")]
#endif
public string Key { get; protected set; }
///
/// 属性数值
///
#if NEWTONSOFT
[JsonProperty("value")]
#endif
public int Value { get; protected set; }
///
/// 合成所需水晶ID
///
#if NEWTONSOFT
[JsonProperty("combineRequired")]
#endif
public string CombineRequired { get; protected set; }
///
/// 合成所需水晶数量
///
#if NEWTONSOFT
[JsonProperty("combineRequiredCount")]
#endif
public int CombineRequiredCount { get; protected set; }
///
/// 镶嵌消耗金币
///
#if NEWTONSOFT
[JsonProperty("inlayCostGold")]
#endif
public int InlayCostGold { get; protected set; }
///
/// 出售价格
///
#if NEWTONSOFT
[JsonProperty("sale")]
#endif
public int Sale { get; protected set; }
}
}