blob: 30b6033cb491a3f92e2ffab55d9ca6dd5194335f (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Spacebar.Db.Models;
[Table("connected_accounts")]
public partial class ConnectedAccount
{
[Key]
[Column("id", TypeName = "character varying")]
public string Id { get; set; } = null!;
[Column("external_id", TypeName = "character varying")]
public string ExternalId { get; set; } = null!;
[Column("user_id", TypeName = "character varying")]
public string? UserId { get; set; }
[Column("friend_sync")]
public bool FriendSync { get; set; }
[Column("name", TypeName = "character varying")]
public string Name { get; set; } = null!;
[Column("revoked")]
public bool Revoked { get; set; }
[Column("show_activity")]
public int ShowActivity { get; set; }
[Column("type", TypeName = "character varying")]
public string Type { get; set; } = null!;
[Column("verified")]
public bool Verified { get; set; }
[Column("visibility")]
public int Visibility { get; set; }
[Column("integrations")]
public string Integrations { get; set; } = null!;
[Column("metadata")]
public string? Metadata { get; set; }
[Column("metadata_visibility")]
public int MetadataVisibility { get; set; }
[Column("two_way_link")]
public bool TwoWayLink { get; set; }
[Column("token_data")]
public string? TokenData { get; set; }
[ForeignKey("UserId")]
[InverseProperty("ConnectedAccounts")]
public virtual User? User { get; set; }
}
|