mirror of
https://github.com/NoiTheCat/WorldTime.git
synced 2024-11-22 06:34:38 +00:00
15 lines
385 B
C#
15 lines
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!;
|
||
|
}
|