[Required]
[DisplayName("用户名")]
[MinLength(10)]
public string UserName { get; set; }
[DisplayName("内容")]
[MaxLength(50)]
[MinLength(10)]
public string Content { get; set; }
[Required]
[DisplayName("发送时间")]
public DateTime SendedTime { get; set; }
[DisplayName("客户端名称")]
[EmailAddress]
[Phone]
public string ClientName { get; set; }
//[DisplayName("编码")]
[Range(10, 50)]
public int Code { get; set; }