55 lines
1.7 KiB
C#
55 lines
1.7 KiB
C#
using System;
|
||
using System.Xml.Serialization;
|
||
|
||
namespace Aop.Api.Domain
|
||
{
|
||
/// <summary>
|
||
/// Context Data Structure.
|
||
/// </summary>
|
||
[Serializable]
|
||
public class Context : AopObject
|
||
{
|
||
/// <summary>
|
||
/// 底部链接描述文字,如“查看详情”,最多能传8个汉字或16个英文字符,长度超出会报错
|
||
/// </summary>
|
||
[XmlElement("action_name")]
|
||
public string ActionName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 模板中占位符的值及文字颜色,value和color都为必填项,color为当前文字颜色
|
||
/// </summary>
|
||
[XmlElement("first")]
|
||
public Keyword First { get; set; }
|
||
|
||
/// <summary>
|
||
/// 顶部色条的色值
|
||
/// </summary>
|
||
[XmlElement("head_color")]
|
||
public string HeadColor { get; set; }
|
||
|
||
/// <summary>
|
||
/// 模板中占位符的值及文字颜色,value和color都为必填项,color为当前文字颜色
|
||
/// </summary>
|
||
[XmlElement("keyword1")]
|
||
public Keyword Keyword1 { get; set; }
|
||
|
||
/// <summary>
|
||
/// 模板中占位符的值及文字颜色,value和color都为必填项,color为当前文字颜色
|
||
/// </summary>
|
||
[XmlElement("keyword2")]
|
||
public Keyword Keyword2 { get; set; }
|
||
|
||
/// <summary>
|
||
/// 模板中占位符的值及文字颜色,value和color都为必填项,color为当前文字颜色
|
||
/// </summary>
|
||
[XmlElement("remark")]
|
||
public Keyword Remark { get; set; }
|
||
|
||
/// <summary>
|
||
/// 点击消息后承接页的地址
|
||
/// </summary>
|
||
[XmlElement("url")]
|
||
public string Url { get; set; }
|
||
}
|
||
}
|