This repository has been archived on 2026-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
ServerSpacebarOld/extra/admin-api/Spacebar.Db/Models/ValidRegistrationToken.cs
2025-10-05 21:33:50 +02:00

22 lines
641 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Spacebar.Db.Models;
[Table("valid_registration_tokens")]
public partial class ValidRegistrationToken
{
[Key]
[Column("token", TypeName = "character varying")]
public string Token { get; set; } = null!;
[Column("created_at", TypeName = "timestamp without time zone")]
public DateTime CreatedAt { get; set; }
[Column("expires_at", TypeName = "timestamp without time zone")]
public DateTime ExpiresAt { get; set; }
}