12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace MafiaTelegramBot.DataBase.Entity
- {
- [Table("achievements")]
- public class AchievementsEntity
- {
- [Key]
- [DatabaseGenerated(DatabaseGeneratedOption.None)]
- [Column("player_id"), MaxLength(127)] public long PlayerId { get; init; }
- [Column("doctor_heals"), MaxLength(127)]
- public int DoctorHeals { get; set; } = 0;
- [Column("cop_dispatches"), MaxLength(127)]
- public int CopDispatches { get; set; } = 0;
- [Column("mafia_solo_wins"), MaxLength(127)]
- public int MafiaSoloWins { get; set; } = 0;
- [Column("have_sex_with_don"), MaxLength(127)]
- public int HaveSexWithDon { get; set; } = 0;
- [Column("games_where_cop_check_only_mafia"), MaxLength(127)]
- public int GamesWhereCopCheckOnlyMafia { get; set; } = 0;
- [Column("previous_game_win_color"), MaxLength(127)]
- public int PreviousGameWinColor { get; set; } = 0;
- [Column("not_dispatched_on_second_stage"), MaxLength(127)]
- public int NotDispatchedOnSecondStage { get; set; } = 0;
- [Column("player_win_team"), MaxLength(127)]
- public string PlayerWinTeam { get; set; } = "";
- [Column("player_win_team_two"), MaxLength(127)]
- public string PlayerWinTeamTwo { get; set; } = "";
- [Column("player_win_team_three"), MaxLength(127)]
- public string PlayerWinTeamThree { get; set; } = "";
- }
- }
|