Files
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

31 lines
1.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// Condition Data Structure.
/// </summary>
[Serializable]
public class Condition : AopObject
{
/// <summary>
/// 字段名称,目前支持以下字段: name: 活动名称 startTime: 开始时间 endTime: 结束时间 status活动状态
/// </summary>
[JsonProperty("field_name")]
public string FieldName { get; set; }
/// <summary>
/// 对应于field_name的字段值当field_name为status时field_value支持STARTED、STARTING、MODIFYING、CLOSED、CLOSING、DISABLED几种值用|分隔代表查询这些状态中的活动此时operator只能为IN,field_name为name时候value表示要查询的活动名field_name为时间时,field_value为开始或结束时间格式如2016-10-01
/// 00:00:00
/// </summary>
[JsonProperty("field_value")]
public string FieldValue { get; set; }
/// <summary>
/// 操作符,EQUAL:等于,IN:范围。目前支持field_name=status且operator=IN,多个状态以"|"分隔
/// </summary>
[JsonProperty("operator")]
public string Operator { get; set; }
}
}