mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 15:09:26 -07:00
38 lines
826 B
C#
38 lines
826 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace RadicadeServer.RecNet.Keepsakes
|
|
{
|
|
public class KeepsakeInstance
|
|
{
|
|
[Key]
|
|
public Guid KeepsakeInstanceId { get; set; }
|
|
|
|
public long RoomId { get; set; }
|
|
|
|
public long? SubRoomId { get; set; }
|
|
|
|
public int KeepsakeCategoryId { get; set; }
|
|
|
|
public long PlacedByAccountId { get; set; }
|
|
|
|
public DateTime PlacedAt { get; set; }
|
|
|
|
public bool Removed { get; set; }
|
|
}
|
|
|
|
public class KeepsakeCollectionRecord
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long KeepsakeCollectionRecordId { get; set; }
|
|
|
|
public long AccountId { get; set; }
|
|
|
|
public Guid KeepsakeInstanceId { get; set; }
|
|
|
|
public int KeepsakeCategoryId { get; set; }
|
|
|
|
public DateTime CollectedAt { get; set; }
|
|
}
|
|
}
|