参考了下面的文章:
http://www.cnblogs.com/liuxianan/archive/2013/04/13/3018732.html
public
class
SMSValidate
{
public
int ID { get; set; }
?
[Display(Name =
"电话号码")]
[StringLength(18)]
public
string PhoneNumber { get; set; }
?
[Display(Name =
"注册验证码")]
[StringLength(10)]
public
string RegistValidateCode { get; set; }
?
[Display(Name =
"注册验证码重试次数")]
public
Nullable<int> RegistSendSMSCount { get; set; }
?
[Display(Name =
"密码重置验证码")]
[StringLength(10)]
public
string FindPWDValidateCode { get; set; }
?
[Display(Name =
"密码重置验证码重试次数")]
public
Nullable<int> FindSendSMSCount { get; set; }
?
[Display(Name =
"短信发送是否成功")]
public
Nullable<bool> IsSuccess { get; set; }
?
[Display(Name =
"短信发送时间")]
public
Nullable<System.DateTime> LastSendTime { get; set; }
?
[Display(Name =
"备注1")]
[StringLength(200)]
public
string Bak1 { get; set; }
?
[Display(Name =
"备注2")]
[StringLength(200)]
public
string Bak2 { get; set; }
?
[Display(Name =
"备注3")]
[StringLength(200)]
public
string Bak3 { get; set; }
}