astral-api/Astral.Core/Entities/UserLocker.cs
Mike 81aa0ec1c0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
WIP heartbeat and user presence
2024-12-15 16:06:14 +00:00

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; }
}