using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Entity;
|
|
namespace WIDESEA_Entity.DomainModels
|
{
|
public class ApiSys_UserOutput
|
{
|
/// <summary>
|
///用户名
|
/// </summary>
|
[Display(Name ="用户名")]
|
[MaxLength(200)]
|
[Column(TypeName="nvarchar(200)")]
|
[Editable(true)]
|
[Required(AllowEmptyStrings=false)]
|
public string UserName { get; set; }
|
|
/// <summary>
|
///部门
|
/// </summary>
|
[Display(Name ="部门")]
|
[MaxLength(300)]
|
[Column(TypeName="nvarchar(300)")]
|
[Editable(true)]
|
public string DeptName { get; set; }
|
|
/// <summary>
|
///角色
|
/// </summary>
|
[Display(Name ="角色")]
|
[Column(TypeName="int")]
|
[Editable(true)]
|
[Required(AllowEmptyStrings=false)]
|
public int Role_Id { get; set; }
|
|
|
}
|
}
|