using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyCode.Project.Domain.Message.Response.Wechat { public class TemplateItem { /// /// keyword1,keyword2 /// public string Code { get; set; } /// /// 模板值 /// public string Value { get; set; } /// /// 字体颜色 /// public string Color { get; set; } /// /// 初始化一个类型的实例 /// /// 模板编码 /// 模板值 /// 字体颜色,默认#173177 public TemplateItem(string code, string value, string color = "#173177") { this.Code = code; this.Value = value; this.Color = color; } } }