mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-23 18:02:23 +00:00
38 lines
860 B
C#
38 lines
860 B
C#
|
using FSO.Common.Enum;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace FSO.Server.Database.DA.LotVisitors
|
|||
|
{
|
|||
|
public class DbLotVisit
|
|||
|
{
|
|||
|
public int lot_visit_id { get; set; }
|
|||
|
public uint avatar_id { get; set; }
|
|||
|
public int lot_id { get; set; }
|
|||
|
public DbLotVisitorType type { get; set; }
|
|||
|
public DbLotVisitorStatus status { get; set; }
|
|||
|
public DateTime time_created { get; set; }
|
|||
|
public DateTime? time_closed { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class DbLotVisitNhood : DbLotVisit
|
|||
|
{
|
|||
|
public uint neighborhood_id { get; set; }
|
|||
|
public uint location { get; set; }
|
|||
|
public LotCategory category { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public enum DbLotVisitorType
|
|||
|
{
|
|||
|
owner,
|
|||
|
roommate,
|
|||
|
visitor
|
|||
|
}
|
|||
|
|
|||
|
public enum DbLotVisitorStatus
|
|||
|
{
|
|||
|
active,
|
|||
|
closed,
|
|||
|
failed
|
|||
|
}
|
|||
|
}
|