NewGaoKaoApi/PaymentSDK/AliPay/Domain/CampDetailInfo.cs

81 lines
2.4 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// CampDetailInfo Data Structure.
/// </summary>
[Serializable]
public class CampDetailInfo : AopObject
{
/// <summary>
/// 活动开始时间
/// </summary>
[XmlElement("begin_time")]
public string BeginTime { get; set; }
/// <summary>
/// 业务id与bizType 一一对应biz_type为消费送biz_id为消费送活动id
/// </summary>
[XmlElement("biz_id")]
public string BizId { get; set; }
/// <summary>
/// 业务类型CONSUME_SEND消费送MRT_DISCOUNT:商户立减OBTAIN:通用领券
/// </summary>
[XmlElement("biz_type")]
public string BizType { get; set; }
/// <summary>
/// 活动描述
/// </summary>
[XmlElement("camp_desc")]
public string CampDesc { get; set; }
/// <summary>
/// 需要解析该json串title为标题details是描述多个detail需要换行
/// </summary>
[XmlElement("camp_guide")]
public string CampGuide { get; set; }
/// <summary>
/// 活动id
/// </summary>
[XmlElement("camp_id")]
public string CampId { get; set; }
/// <summary>
/// 活动结束时间
/// </summary>
[XmlElement("end_time")]
public string EndTime { get; set; }
/// <summary>
/// 扩展字段信息用Map对象json串保存
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 活动规则标识列表,列表中存在的标识,代表该活动包含对应的规则。目前只有人群规则一种。标识说明: CROWD人群规则
/// </summary>
[XmlArray("rule_flag_list")]
[XmlArrayItem("string")]
public List<string> RuleFlagList { get; set; }
/// <summary>
/// 每人每日参与次数 -1为不限制
/// </summary>
[XmlElement("win_limit_daily")]
public string WinLimitDaily { get; set; }
/// <summary>
/// 每人总参与次数 -1 为不限制
/// </summary>
[XmlElement("win_limit_life")]
public string WinLimitLife { get; set; }
}
}