31 lines
848 B
C#
31 lines
848 B
C#
|
|
using System;
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|
|||
|
|
namespace WalkingTec.Mvvm.Core
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// FrameworkUser
|
|||
|
|
/// </summary>
|
|||
|
|
[Table("FrameworkUsers")]
|
|||
|
|
public class FrameworkUser : FrameworkUserBase
|
|||
|
|
{
|
|||
|
|
[Display(Name = "_Admin.Gender")]
|
|||
|
|
public GenderEnum? Gender { get; set; }
|
|||
|
|
|
|||
|
|
[Display(Name = "_Admin.CellPhone")]
|
|||
|
|
[RegularExpression("^[1][3-9]\\d{9}$", ErrorMessage = "Validate.{0}formaterror")]
|
|||
|
|
public string CellPhone { get; set; }
|
|||
|
|
|
|||
|
|
[Display(Name = "_Admin.Group")]
|
|||
|
|
public FrameworkGroup Group { get; set; }
|
|||
|
|
|
|||
|
|
[Display(Name = "_Admin.Group")]
|
|||
|
|
public Guid? GroupId { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
[Display(Name = "_Admin.DisplayOrder")]
|
|||
|
|
public int? DisplayOrder { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|