mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-23 18:02:23 +00:00
30 lines
739 B
C#
30 lines
739 B
C#
|
namespace FSO.Server.Database.DA.Bulletin
|
|||
|
{
|
|||
|
public class DbBulletinPost
|
|||
|
{
|
|||
|
public uint bulletin_id { get; set; }
|
|||
|
public int neighborhood_id { get; set; }
|
|||
|
public uint? avatar_id { get; set; }
|
|||
|
public string title { get; set; }
|
|||
|
public string body { get; set; }
|
|||
|
public uint date { get; set; }
|
|||
|
public uint flags { get; set; }
|
|||
|
public int? lot_id { get; set; }
|
|||
|
public DbBulletinType type { get; set; }
|
|||
|
public byte deleted { get; set; }
|
|||
|
|
|||
|
public string string_type { get
|
|||
|
{
|
|||
|
return type.ToString();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public enum DbBulletinType
|
|||
|
{
|
|||
|
mayor,
|
|||
|
system,
|
|||
|
community
|
|||
|
}
|
|||
|
}
|