You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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; }
|
|
}
|
|
}
|