using System.ComponentModel.DataAnnotations;
namespace ASTRAIN.Shared.Models;
///
/// Represents an application user identified by an 8-character key.
///
public class User
{
///
/// Gets or sets the unique 8-character user identifier.
///
[Key]
[MaxLength(8)]
public string Id { get; set; } = string.Empty;
///
/// Gets or sets the creation timestamp in UTC.
///
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
///
/// Gets or sets the exercises owned by this user.
///
public List Exercises { get; set; } = new();
///
/// Gets or sets the routines owned by this user.
///
public List Routines { get; set; } = new();
}