/**
* 命名空间: CZFW.Authorization.Entity
*
* 功 能: N/A
* 类 名: UserEntity
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2016/12/17 0:38:18 曹湘 初稿
*
* Copyright (c) 2016 CHUANGZHIKEJI Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
*│ 版权所有:创执科技(北京)有限公司 │
*└──────────────────────────────────┘
*/
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CZFW.Framework.Model.Entity
{
///
/// 系统用户表
///
[Table("cz_sysuser")]
public class SysUserEntity : EntityBase
{
///
/// 登录账号
///
[Display(Name = @"登录账号")]
[StringLength(128)]
[Required]
public string Account { get; set; }
///
/// 昵称
///
[Display(Name = @"昵称")]
[StringLength(128)]
public string NickName { get; set; }
///
/// 头像
///
[Display(Name = @"头像")]
[DataType(DataType.ImageUrl)]
[StringLength(512)]
public string HeadIcon { get; set; }
///
/// 性别
///
[Display(Name = @"性别")]
[DataType("GenderMark")]
public int? Gender { get; set; }
///
/// 生日
///
[Display(Name = @"生日")]
[DataType(DataType.Date)]
public DateTime? Birthday { get; set; }
///
/// 手机号
///
[Display(Name = @"手机号")]
[StringLength(128)]
public string MobilePhone { get; set; }
///
/// 邮箱
///
[Display(Name = @"邮箱")]
[DataType(DataType.EmailAddress)]
[StringLength(128)]
public string Email { get; set; }
///
/// 微信
///
[Display(Name = @"微信")]
[StringLength(128)]
public string WeChat { get; set; }
///
/// 上级主管
///
[Display(Name = @"上级主管")]
[StringLength(36)]
public string ManagerId { get; set; }
///
/// 安全级别
///
[Display(Name = @"安全级别")]
[DataType("SecurityMark")]
public int? SecurityLevel { get; set; }
///
/// 个性签名
///
[Display(Name = @"个性签名")]
[StringLength(128)]
public string Signature { get; set; }
///
/// 所在部门
///
[Display(Name = @"所在部门")]
[StringLength(36)]
public string DepartmentId { get; set; }
///
/// 组织ID
///
[Display(Name = @"组织ID")]
[StringLength(128)]
public string OrganizeId { get; set; }
///
/// 角色ID
///
[Display(Name = @"角色ID")]
[StringLength(128)]
public string RoleId { get; set; }
///
/// 注释内容
///
[Display(Name = @"注释内容")]
[StringLength(128)]
public string DutyId { get; set; }
///
/// 管理员
///
[Display(Name = @"管理员")]
[DataType("YesNoMark")]
public bool? IsAdministrator { get; set; }
///
/// 删除
///
[Display(Name = @"删除")]
[DataType("YesNoMark")]
public bool? Deleted { get; set; }
///
/// 启用
///
[Display(Name = @"启用")]
[DataType("YesNoMark")]
public bool? Enabled { get; set; }
///
/// 描述
///
[Display(Name = @"描述")]
public string Description { get; set; }
///
/// 删除时间
///
[Display(Name = @"删除时间")]
public DateTime? DeleteTime { get; set; }
///
/// 删除人
///
[Display(Name = @"删除人")]
[StringLength(36)]
public string DeleteUserId { get; set; }
}
}