astral-api/Astral.Core/Entities/UserLocker.cs

28 lines
613 B
C#
Raw Permalink Normal View History

2024-12-15 17:06:14 +01:00
// <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; }
}