refactor: properly rename connections-related tables; top-level namespaces
This commit is contained in:
29
Database/Entities/ConnectionsCard.cs
Normal file
29
Database/Entities/ConnectionsCard.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
namespace ConnectionsAPI.Database.Entities;
|
||||
|
||||
public class ConnectionsCard
|
||||
{
|
||||
/// <summary>
|
||||
/// Primary key of the entity
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The contents of this card (the word)
|
||||
/// </summary>
|
||||
public string Content { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The initial position of this card on the grid
|
||||
/// </summary>
|
||||
public int Position { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The ID of the associated Connections category
|
||||
/// </summary>
|
||||
public int ConnectionsCategoryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The associated category instance
|
||||
/// </summary>
|
||||
public virtual ConnectionsCategory? Category { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user