summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Db/Models/ClientRelease.cs
blob: cec74d3e238b03190d9ddde2f86fdd15e82e7551 (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
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Spacebar.Db.Models;

[Table("client_release")]
public partial class ClientRelease
{
    [Key]
    [Column("id", TypeName = "character varying")]
    public string Id { get; set; } = null!;

    [Column("name", TypeName = "character varying")]
    public string Name { get; set; } = null!;

    [Column("pub_date", TypeName = "timestamp without time zone")]
    public DateTime PubDate { get; set; }

    [Column("url", TypeName = "character varying")]
    public string Url { get; set; } = null!;

    [Column("platform", TypeName = "character varying")]
    public string Platform { get; set; } = null!;

    [Column("enabled")]
    public bool Enabled { get; set; }

    [Column("notes", TypeName = "character varying")]
    public string? Notes { get; set; }
}