summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Db/Models/ValidRegistrationToken.cs
blob: 48edfb755bedba9d0f7ec715b437235b01e705e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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; }
}