using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Model { public partial class DataDockingProblem { /// /// sms短消息处理参数 /// public class SmsHandleParameters : JsonModel { /// /// /// public SmsHandleParameters() { } /// /// /// public SmsHandleParameters(SmsHandleParameters rhs) { this.Account = rhs.Account == null ? null : new SmsAccount(rhs.Account); this.Telephones = rhs.Telephones?.ToList(); } /// /// 账号 /// public SmsAccount Account { get; set; } /// /// 电话号码列表 /// public List Telephones { get; set; } } /// /// sms账号 /// public class SmsAccount { /// /// /// public SmsAccount() { } /// /// /// public SmsAccount( string userName,string password) { this.UserName = userName; this.Password = password; } /// /// /// public SmsAccount(SmsAccount rhs) { this.UserName = rhs.UserName; this.Password= rhs.Password; } /// /// 用户名 /// public string UserName { get; set; } /// /// 密码 /// public string Password { get; set; } } } }