AchievementsEntity.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace MafiaTelegramBot.DataBase.Entity
  4. {
  5. [Table("achievements")]
  6. public class AchievementsEntity
  7. {
  8. [Key]
  9. [DatabaseGenerated(DatabaseGeneratedOption.None)]
  10. [Column("player_id"), MaxLength(127)] public long PlayerId { get; init; }
  11. [Column("doctor_heals"), MaxLength(127)]
  12. public int DoctorHeals { get; set; } = 0;
  13. [Column("cop_dispatches"), MaxLength(127)]
  14. public int CopDispatches { get; set; } = 0;
  15. [Column("mafia_solo_wins"), MaxLength(127)]
  16. public int MafiaSoloWins { get; set; } = 0;
  17. [Column("have_sex_with_don"), MaxLength(127)]
  18. public int HaveSexWithDon { get; set; } = 0;
  19. [Column("games_where_cop_check_only_mafia"), MaxLength(127)]
  20. public int GamesWhereCopCheckOnlyMafia { get; set; } = 0;
  21. [Column("previous_game_win_color"), MaxLength(127)]
  22. public int PreviousGameWinColor { get; set; } = 0;
  23. [Column("not_dispatched_on_second_stage"), MaxLength(127)]
  24. public int NotDispatchedOnSecondStage { get; set; } = 0;
  25. [Column("player_win_team"), MaxLength(127)]
  26. public string PlayerWinTeam { get; set; } = "";
  27. [Column("player_win_team_two"), MaxLength(127)]
  28. public string PlayerWinTeamTwo { get; set; } = "";
  29. [Column("player_win_team_three"), MaxLength(127)]
  30. public string PlayerWinTeamThree { get; set; } = "";
  31. }
  32. }