SysUser.cs 1.34 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 用户表
	/// </summary>
    [Table("sys_user")]
    public partial class SysUser : SysEntity
    {
        public SysUser()
        {
        }

        /// <summary>
	    /// 账号
	    /// </summary>
        [Column("account")]
        public string Account { get; set; }
        /// <summary>
	    /// 密码
	    /// </summary>
        [Column("password")]
        public string Password { get; set; }
        /// <summary>
	    /// 用户名
	    /// </summary>
        [Column("name")]
        public string Name { get; set; }
        /// <summary>
	    /// 性别
	    /// </summary>
        [Column("sex")]
        public bool? Sex { get; set; }
        /// <summary>
	    /// 状态
	    /// </summary>
        [Column("status")]
        public bool? Status { get; set; }
        /// <summary>
        /// 有效期
        /// </summary>
        [Column("expirydate")]
        public DateTime? Expirydate { get; set; }
        /// <summary>
	    /// 是否已分配角色
	    /// </summary>
        [Column("isAssignRole")]
        public bool? IsAssignRole { get; set; }
        /// <summary>
	    /// 是否已分配模块
	    /// </summary>
        [Column("isAssignModule")]
        public bool? IsAssignModule { get; set; }
    }
}