sockscape/server/DAL/User.cs

26 lines
631 B
C#
Raw Normal View History

2017-06-05 12:20:39 +00:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2017-06-05 12:20:39 +00:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2017-07-22 19:27:41 +00:00
namespace SockScape.DAL {
public partial class User {
public long Id { get; set; }
[Required]
public string Username { get; set; }
[Required]
public string Password { get; set; }
[Required]
2017-06-05 12:20:39 +00:00
public DateTime Joined { get; set; }
public DateTime? LastLogin { get; set; }
public virtual ICollection<Origin> Origins { get; set; }
2017-06-06 21:13:25 +00:00
public virtual Session Session { get; set; }
}
}