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;
|
2017-06-01 20:54:32 +00:00
|
|
|
|
2017-06-02 21:02:48 +00:00
|
|
|
namespace CircleScape.DAL {
|
|
|
|
public partial class Session {
|
2017-06-01 20:54:32 +00:00
|
|
|
public long Id { get; set; }
|
|
|
|
|
2017-06-02 21:02:48 +00:00
|
|
|
[Index("SessionUserId")]
|
2017-06-01 20:54:32 +00:00
|
|
|
public long UserId { get; set; }
|
2017-06-02 21:02:48 +00:00
|
|
|
public virtual User User { get; set; }
|
2017-06-01 20:54:32 +00:00
|
|
|
|
|
|
|
[Required]
|
|
|
|
public string IpAddress { get; set; }
|
|
|
|
}
|
|
|
|
}
|