namespace iWareSql.MyDbContext
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class sys_user
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public sys_user()
|
{
|
sys_org = new HashSet<sys_org>();
|
sys_role = new HashSet<sys_role>();
|
}
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public long Id { get; set; }
|
|
[Required]
|
[StringLength(50)]
|
public string Account { get; set; }
|
|
[Required]
|
[StringLength(50)]
|
public string Password { get; set; }
|
|
[StringLength(20)]
|
public string NickName { get; set; }
|
|
[StringLength(20)]
|
public string Name { get; set; }
|
|
public string Avatar { get; set; }
|
|
public DateTimeOffset? Birthday { get; set; }
|
|
public int? Sex { get; set; }
|
|
[StringLength(50)]
|
public string Email { get; set; }
|
|
[StringLength(20)]
|
public string Phone { get; set; }
|
|
[StringLength(20)]
|
public string Tel { get; set; }
|
|
[StringLength(20)]
|
public string LastLoginIp { get; set; }
|
|
public DateTimeOffset? LastLoginTime { get; set; }
|
|
public int AdminType { get; set; }
|
|
public int Status { get; set; }
|
|
public DateTimeOffset? CreatedTime { get; set; }
|
|
public DateTimeOffset? UpdatedTime { get; set; }
|
|
public long? CreatedUserId { get; set; }
|
|
[StringLength(50)]
|
public string CreatedUserName { get; set; }
|
|
public long? UpdatedUserId { get; set; }
|
|
[StringLength(50)]
|
public string UpdatedUserName { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
public long? TenantId { get; set; }
|
|
[StringLength(50)]
|
public string JobNo { get; set; }
|
|
public bool? IsLogin { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<sys_org> sys_org { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<sys_role> sys_role { get; set; }
|
}
|
}
|