blob: 3414c2bcb27e1ecd5684e6d9feac602732b26b2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Spacebar.Db.Models;
[Table("rate_limits")]
public partial class RateLimit
{
[Key]
[Column("id", TypeName = "character varying")]
public string Id { get; set; } = null!;
[Column("executor_id", TypeName = "character varying")]
public string ExecutorId { get; set; } = null!;
[Column("hits")]
public int Hits { get; set; }
[Column("blocked")]
public bool Blocked { get; set; }
[Column("expires_at", TypeName = "timestamp without time zone")]
public DateTime ExpiresAt { get; set; }
}
|