mirror of
https://github.com/NoiTheCat/WorldTime.git
synced 2024-11-24 01:14:13 +00:00
15 lines
No EOL
385 B
C#
15 lines
No EOL
385 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace WorldTime.Data;
|
|
[Table("userdata")]
|
|
public class UserEntry {
|
|
[Key]
|
|
[Column("guild_id")]
|
|
public long GuildId { get; set; }
|
|
[Key]
|
|
[Column("user_id")]
|
|
public long UserId { get; set; }
|
|
[Column("zone")]
|
|
public string TimeZone { get; set; } = null!;
|
|
} |