using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// SquareDanceTaskInfo Data Structure. /// [Serializable] public class SquareDanceTaskInfo : AopObject { /// /// 应用id,固定值,用于识别相关调用方的应用来源 /// [XmlElement("application_id")] public string ApplicationId { get; set; } /// /// 业务类型 /// [XmlElement("biz_type")] public string BizType { get; set; } /// /// 跳转地址 /// [XmlElement("button_action_url")] public string ButtonActionUrl { get; set; } /// /// 相关任务的按钮文案,列表中展示 /// [XmlElement("button_text")] public string ButtonText { get; set; } /// /// 额外参数,json串 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 任务流水id,唯一值,用于双方幂等控制 /// [XmlElement("flow_id")] public string FlowId { get; set; } /// /// 域内可以访问的图片地址,在任务列表中进行展示 /// [XmlElement("img_url")] public string ImgUrl { get; set; } /// /// 任务状态,包括"TO_APPLY":"待申领","PROCESSING": "进行中","COMPLETE":"已完成" /// [XmlElement("status")] public string Status { get; set; } /// /// 对于任务进行的描述说明 /// [XmlElement("sub_title")] public string SubTitle { get; set; } /// /// 任务id,biz_type+创建日期+主键组成 /// [XmlElement("task_id")] public string TaskId { get; set; } /// /// 任务标题,在任务列表页直接展示 /// [XmlElement("title")] public string Title { get; set; } /// /// 完成任务用户可以获得的票数(任务奖励) /// [XmlElement("votes")] public long Votes { get; set; } } }