using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// UserCert Data Structure. /// [Serializable] public class UserCert : AopObject { /// /// 申请证书的时间,不是种树时间 /// [XmlElement("apply_time")] public string ApplyTime { get; set; } /// /// 用户环保证书id /// [XmlElement("certificate_id")] public string CertificateId { get; set; } /// /// 扩展信息,格式为JSON字符串,具体k-v需要跟接口提供方确认后使用 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 树已经种下时所在的林区id /// [XmlElement("forest_id")] public string ForestId { get; set; } /// /// 公益机构名称 /// [XmlElement("ngo_name")] public string NgoName { get; set; } /// /// 树种是否种下 /// [XmlElement("planted")] public bool Planted { get; set; } /// /// 树种或保护地所在区域 /// [XmlElement("region")] public string Region { get; set; } /// /// 树种或者保护地名称 /// [XmlElement("tree_name")] public string TreeName { get; set; } /// /// 证书类型:树种-"TREE"/保护地-"RESERVE" /// [XmlElement("type")] public string Type { get; set; } } }