mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-21 09:11:20 +00:00
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
37 lines
860 B
C#
Executable file
37 lines
860 B
C#
Executable file
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
|
|
}
|
|
}
|