2017-06-02 21:02:48 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
using System.Data.Entity.Spatial;
|
|
|
|
|
|
|
|
namespace CircleScape.DAL {
|
|
|
|
public partial class User {
|
2017-06-01 20:54:32 +00:00
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
public string Username { get; set; }
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
|
|
|
public long? Joined { get; set; }
|
|
|
|
|
|
|
|
public long? LastLogin { get; set; }
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
public string JoinedIp { get; set; }
|
2017-06-02 21:02:48 +00:00
|
|
|
|
2017-06-01 20:54:32 +00:00
|
|
|
public string LastIp { get; set; }
|
2017-06-02 21:02:48 +00:00
|
|
|
|
2017-06-01 20:54:32 +00:00
|
|
|
public virtual ICollection<Session> Sessions { get; set; }
|
2017-06-02 21:02:48 +00:00
|
|
|
public virtual ICollection<Item> Items { get; set; }
|
2017-06-01 20:54:32 +00:00
|
|
|
}
|
|
|
|
}
|