27 lines
613 B
C#
27 lines
613 B
C#
// <copyright file="UserLocker.cs" company="alveus.dev">
|
|
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
|
|
// </copyright>
|
|
|
|
using Astral.Core.Attributes.EntityAnnotation;
|
|
|
|
namespace Astral.Core.Entities;
|
|
|
|
/// <summary>
|
|
/// User locker entity.
|
|
/// </summary>
|
|
[TableMapping("userLocker")]
|
|
public class UserLocker
|
|
{
|
|
/// <summary>
|
|
/// User id.
|
|
/// </summary>
|
|
[ColumnMapping("id")]
|
|
[PrimaryKey]
|
|
public Guid Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Locker contents.
|
|
/// </summary>
|
|
[ColumnMapping("contents")]
|
|
public string Contents { get; set; }
|
|
}
|