初始提交
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Alipay.AopSdk.F2FPay.Model;
|
||||
|
||||
namespace Alipay.AopSdk.F2FPay.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// AlipayMonitorContentBuilder 的摘要说明
|
||||
/// </summary>
|
||||
public class AlipayMonitorContentBuilder : JsonBuilder
|
||||
{
|
||||
public List<TradeInfo> trade_info { get; set; }
|
||||
|
||||
public AlipayMonitorContentBuilder()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public string product { get; set; }
|
||||
|
||||
public string type { get; set; }
|
||||
public string equipment_id { get; set; }
|
||||
public string time { get; set; }
|
||||
public string store_id { get; set; }
|
||||
public string network_type { get; set; }
|
||||
public string equipment_status { get; set; }
|
||||
public string sys_service_provider_id { get; set; }
|
||||
public string mac { get; set; }
|
||||
|
||||
|
||||
public override bool Validate()
|
||||
{
|
||||
if (String.IsNullOrEmpty(product))
|
||||
{
|
||||
throw new NullReferenceException("product should not be NULL!");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user