using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// QuestInstanceDO Data Structure.
///
[Serializable]
public class QuestInstanceDO : AopObject
{
///
/// 跳转地址:若用户已添加目标,则返回打卡页,否则返回目标详情页地址
///
[XmlElement("action_schema")]
public string ActionSchema { get; set; }
///
/// 用户当前获取卡片详情
///
[XmlElement("card_instance")]
public CardInstanceDO CardInstance { get; set; }
///
/// 卡片绑定的权益信息
///
[XmlArray("card_promos")]
[XmlArrayItem("card_promo_d_o")]
public List CardPromos { get; set; }
///
/// 用户已打卡天数
///
[XmlElement("day_count")]
public long DayCount { get; set; }
///
/// 小目标图标icon
///
[XmlElement("icon")]
public string Icon { get; set; }
///
/// 目标实例ID,若用户没有添加目标,则实例为空
///
[XmlElement("instance_id")]
public string InstanceId { get; set; }
///
/// 当前目标的添加人数
///
[XmlElement("join_count")]
public string JoinCount { get; set; }
///
/// 当前用户是否添加目标
///
[XmlElement("joined")]
public bool Joined { get; set; }
///
/// 是否已打卡
///
[XmlElement("marked")]
public bool Marked { get; set; }
///
/// 目标唯一ID
///
[XmlElement("quest_id")]
public string QuestId { get; set; }
///
/// 用户设定目标的提醒时间
///
[XmlArray("remind_times")]
[XmlArrayItem("string")]
public List RemindTimes { get; set; }
///
/// 小目标标题
///
[XmlElement("title")]
public string Title { get; set; }
}
}