summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Db/Models/UserSetting.cs
blob: 5bd3354f5b6570d5de1e50fc2b8809d2665bb88f (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Spacebar.Db.Models;

[Table("user_settings")]
public partial class UserSetting
{
    [Key]
    [Column("index")]
    public int Index { get; set; }

    [Column("afk_timeout")]
    public int? AfkTimeout { get; set; }

    [Column("allow_accessibility_detection")]
    public bool? AllowAccessibilityDetection { get; set; }

    [Column("animate_emoji")]
    public bool? AnimateEmoji { get; set; }

    [Column("animate_stickers")]
    public int? AnimateStickers { get; set; }

    [Column("contact_sync_enabled")]
    public bool? ContactSyncEnabled { get; set; }

    [Column("convert_emoticons")]
    public bool? ConvertEmoticons { get; set; }

    [Column("custom_status")]
    public string? CustomStatus { get; set; }

    [Column("default_guilds_restricted")]
    public bool? DefaultGuildsRestricted { get; set; }

    [Column("detect_platform_accounts")]
    public bool? DetectPlatformAccounts { get; set; }

    [Column("developer_mode")]
    public bool? DeveloperMode { get; set; }

    [Column("disable_games_tab")]
    public bool? DisableGamesTab { get; set; }

    [Column("enable_tts_command")]
    public bool? EnableTtsCommand { get; set; }

    [Column("explicit_content_filter")]
    public int? ExplicitContentFilter { get; set; }

    [Column("friend_source_flags")]
    public string? FriendSourceFlags { get; set; }

    [Column("gateway_connected")]
    public bool? GatewayConnected { get; set; }

    [Column("gif_auto_play")]
    public bool? GifAutoPlay { get; set; }

    [Column("guild_folders")]
    public string? GuildFolders { get; set; }

    [Column("guild_positions")]
    public string? GuildPositions { get; set; }

    [Column("inline_attachment_media")]
    public bool? InlineAttachmentMedia { get; set; }

    [Column("inline_embed_media")]
    public bool? InlineEmbedMedia { get; set; }

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

    [Column("message_display_compact")]
    public bool? MessageDisplayCompact { get; set; }

    [Column("native_phone_integration_enabled")]
    public bool? NativePhoneIntegrationEnabled { get; set; }

    [Column("render_embeds")]
    public bool? RenderEmbeds { get; set; }

    [Column("render_reactions")]
    public bool? RenderReactions { get; set; }

    [Column("restricted_guilds")]
    public string? RestrictedGuilds { get; set; }

    [Column("show_current_game")]
    public bool? ShowCurrentGame { get; set; }

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

    [Column("stream_notifications_enabled")]
    public bool? StreamNotificationsEnabled { get; set; }

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

    [Column("timezone_offset")]
    public int? TimezoneOffset { get; set; }

    [Column("friend_discovery_flags")]
    public int? FriendDiscoveryFlags { get; set; }

    [Column("view_nsfw_guilds")]
    public bool? ViewNsfwGuilds { get; set; }

    [InverseProperty("SettingsIndexNavigation")]
    public virtual User? User { get; set; }
}