using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// WorldOfflineDataInfo Data Structure. /// [Serializable] public class WorldOfflineDataInfo : AopObject { /// /// 生码模式 /// [XmlElement("auth_mode")] public string AuthMode { get; set; } /// /// 可用票种 /// [XmlArray("available_ticket_types")] [XmlArrayItem("world_ticket_type")] public List AvailableTicketTypes { get; set; } /// /// 凭证服务类型 /// [XmlElement("cert_type")] public string CertType { get; set; } /// /// 配置信息 /// [XmlElement("config")] public string Config { get; set; } /// /// 数据来源 /// [XmlElement("data_from")] public string DataFrom { get; set; } /// /// 签名失效时间(long类型数据) /// [XmlElement("expire_time")] public long ExpireTime { get; set; } /// /// 脱机数据 /// [XmlElement("offline_data")] public string OfflineData { get; set; } /// /// 用户秘钥 /// [XmlElement("private_key")] public string PrivateKey { get; set; } /// /// 二维码数据 /// [XmlElement("qrcode")] public string Qrcode { get; set; } /// /// 脚本mac /// [XmlElement("script_mac")] public string ScriptMac { get; set; } /// /// 脚本名称 /// [XmlElement("script_name")] public string ScriptName { get; set; } /// /// 脚本类型 /// [XmlElement("script_type")] public string ScriptType { get; set; } /// /// 上传原始码开关 /// [XmlElement("upload_raw_code")] public bool UploadRawCode { get; set; } /// /// 启动脚本生码 /// [XmlElement("use_script")] public bool UseScript { get; set; } } }