29 lines
572 B
29 lines
572 B
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace CK.SCP.Models.AppBoxEntity
|
|
{
|
|
public class Online : IKeyID
|
|
{
|
|
[Key]
|
|
public int ID { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string IPAdddress { get; set; }
|
|
|
|
public DateTime LoginTime { get; set; }
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
public virtual User User { get; set; }
|
|
|
|
|
|
}
|
|
public class FactoryUsers
|
|
{
|
|
public int FACTORY_ID { set; get; }
|
|
[Key]
|
|
public int UserID { set; get; }
|
|
}
|
|
}
|