diff --git a/SMB3Explorer/Models/Exports/CareerBattingStatistic.cs b/SMB3Explorer/Models/Exports/CareerBattingStatistic.cs index ebd6cc4..9bbc6eb 100644 --- a/SMB3Explorer/Models/Exports/CareerBattingStatistic.cs +++ b/SMB3Explorer/Models/Exports/CareerBattingStatistic.cs @@ -10,127 +10,130 @@ namespace SMB3Explorer.Models.Exports; public class CareerBattingStatistic : CareerStatistic { - [Name("primary_position"), Index(10)] + [Ignore] public int PrimaryPositionNumber { get; set; } - [Name("primary_position_name"), Index(11)] + [Name("Position"), Index(7)] // ReSharper disable once UnusedMember.Global public string PrimaryPositionDescription => ((BaseballPlayerPosition) PrimaryPositionNumber).GetEnumDescription(); - [Name("secondary_position"), Index(12)] + [Ignore] public int? SecondaryPositionNumber { get; set; } - [Name("secondary_position_name"), Index(13)] + [Name("Secondary Position"), Index(8)] // ReSharper disable once UnusedMember.Global public string? SecondaryPositionDescription => SecondaryPositionNumber is null ? null : ((BaseballPlayerPosition) SecondaryPositionNumber).GetEnumDescription(); - [Name("pitcher_role"), Index(14)] + [Ignore] public int? PitcherRole { get; set; } - [Name("pitcher_role_name"), Index(15)] + [Name("Pitcher Role"), Index(9)] // ReSharper disable once UnusedMember.Global public string? PitcherRoleDescription => PitcherRole is null ? null : ((PitcherRole) PitcherRole).GetEnumDescription(); - [Name("games_played"), Index(16)] - public int GamesPlayed { get; set; } - - [Name("games_batting"), Index(17)] + [Name("Games Batting"), Index(10)] public int GamesBatting { get; set; } - [Name("at_bats"), Index(18)] + [Name("Games Played"), Index(11)] + public int GamesPlayed { get; set; } + + [Name("AB"), Index(12)] public int AtBats { get; set; } - [Name("plate_appearances"), Index(19)] + [Name("PA"), Index(13)] public int PlateAppearances => AtBats + Walks + SacrificeHits + SacrificeFlies + HitByPitch; - [Name("runs"), Index(20)] + [Name("R"), Index(14)] public int Runs { get; set; } - [Name("hits"), Index(21)] + [Name("H"), Index(15)] public int Hits { get; set; } - [Name("singles"), Index(22)] + [Name("BA"), Index(16)] + public double BattingAverage => Hits / (double) AtBats; + + [Name("1B"), Index(17)] public int Singles => Hits - Doubles - Triples - HomeRuns; - [Name("doubles"), Index(23)] + [Name("2B"), Index(18)] public int Doubles { get; set; } - [Name("triples"), Index(24)] + [Name("3B"), Index(19)] public int Triples { get; set; } - [Name("home_runs"), Index(25)] + [Name("HR"), Index(20)] public int HomeRuns { get; set; } - [Name("rbi"), Index(26)] + [Name("RBI"), Index(21)] public int RunsBattedIn { get; set; } - [Name("extra_base_hits"), Index(27)] + [Name("XBH"), Index(22)] public int ExtraBaseHits => Doubles + Triples + HomeRuns; - [Name("total_bases"), Index(28)] + [Name("TB"), Index(23)] public int TotalBases => Singles + (2 * Doubles) + (3 * Triples) + (4 * HomeRuns); - [Name("stolen_bases"), Index(29)] + [Name("SB"), Index(24)] public int StolenBases { get; set; } - [Name("caught_stealing"), Index(30)] + [Name("CS"), Index(25)] public int CaughtStealing { get; set; } - [Name("walks"), Index(31)] + [Name("BB"), Index(26)] public int Walks { get; set; } - [Name("strikeouts"), Index(32)] + [Name("K"), Index(27)] public int Strikeouts { get; set; } - [Name("hit_by_pitch"), Index(33)] + [Name("HBP"), Index(28)] public int HitByPitch { get; set; } - [Name("sacrifice_hits"), Index(34)] - public int SacrificeHits { get; set; } - - [Name("sacrifice_flies"), Index(35)] - public int SacrificeFlies { get; set; } - - [Name("errors"), Index(36)] - public int Errors { get; set; } - - [Name("passed_balls"), Index(37)] - public int PassedBalls { get; set; } - - [Name("plate_appearances_per_game"), Index(38)] - public double PlateAppearancesPerGame => PlateAppearances / (double) GamesPlayed; - - [Name("on_base_percentage"), Index(39)] + [Name("OBP"), Index(29)] public double OnBasePercentage => (Hits + Walks + HitByPitch) / (double) (AtBats + Walks + HitByPitch + SacrificeFlies); - [Name("slugging_percentage"), Index(40)] + [Name("SLG"), Index(30)] public double SluggingPercentage => (Singles + (2 * Doubles) + (3 * Triples) + (4 * HomeRuns)) / (double) AtBats; - [Name("on_base_plus_slugging"), Index(41)] + [Name("OPS"), Index(31)] public double OnBasePlusSlugging => OnBasePercentage + SluggingPercentage; - - [Name("batting_average"), Index(42)] - public double BattingAverage => Hits / (double) AtBats; - - [Name("babip"), Index(43)] + + [Name("ISO"), Index(32)] + public double IsolatedPower => SluggingPercentage - BattingAverage; + + [Name("BABIP"), Index(33)] public double BattingAverageOnBallsInPlay => (Hits - HomeRuns) / (double) (AtBats - Strikeouts - HomeRuns + SacrificeFlies); - [Name("at_bats_per_home_run"), Index(44)] + [Name("Sac Hits"), Index(34)] + public int SacrificeHits { get; set; } + + [Name("Sac Flies"), Index(35)] + public int SacrificeFlies { get; set; } + + [Name("Errors"), Index(36)] + public int Errors { get; set; } + + [Name("Passed Balls"), Index(37)] + public int PassedBalls { get; set; } + + [Name("PA/Game"), Index(38)] + public double PlateAppearancesPerGame => PlateAppearances / (double) GamesPlayed; + + [Name("AB/HR"), Index(39)] public double AtBatsPerHomeRun => AtBats / (double) HomeRuns; - [Name("strikeout_percentage"), Index(45)] + [Name("K%"), Index(40)] public double StrikeoutPercentage => Strikeouts / (double) AtBats; - [Name("walk_percentage"), Index(46)] + [Name("BB%"), Index(41)] public double WalkPercentage => Walks / (double) PlateAppearances; - [Name("extra_base_hit_percentage"), Index(47)] + [Name("XBH%"), Index(42)] public double ExtraBaseHitPercentage => ExtraBaseHits / (double) Hits; } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/CareerPitchingStatistic.cs b/SMB3Explorer/Models/Exports/CareerPitchingStatistic.cs index a75cd0d..15de406 100644 --- a/SMB3Explorer/Models/Exports/CareerPitchingStatistic.cs +++ b/SMB3Explorer/Models/Exports/CareerPitchingStatistic.cs @@ -9,106 +9,111 @@ namespace SMB3Explorer.Models.Exports; public class CareerPitchingStatistic : CareerStatistic { - [Name("pitcher_role"), Index(10)] + [Ignore] public int PitcherRole { get; set; } - [Name("pitcher_role_name"), Index(11)] + [Name("Pitcher Role"), Index(7)] // ReSharper disable once UnusedMember.Global public string PitcherRoleDescription => ((PitcherRole) PitcherRole).GetEnumDescription(); - [Name("wins"), Index(12)] + [Name("W"), Index(8)] public int Wins { get; set; } - [Name("losses"), Index(13)] + [Name("L"), Index(9)] public int Losses { get; set; } - - [Name("games_played"), Index(14)] - public int GamesPlayed { get; set; } - - [Name("games_started"), Index(15)] - public int GamesStarted { get; set; } - - [Name("total_pitches"), Index(16)] - public int TotalPitches { get; set; } - - [Name("complete_games"), Index(17)] + + [Name("CG"), Index(10)] public int CompleteGames { get; set; } - [Name("shutouts"), Index(18)] + [Name("CGSO"), Index(11)] public int Shutouts { get; set; } - - [Name("saves"), Index(19)] - public int Saves { get; set; } - - [Name("outs_pitched"), Index(20)] + + [Ignore] public int OutsPitched { get; set; } - [Name("hits_allowed"), Index(21)] + [Name("H"), Index(12)] public int HitsAllowed { get; set; } - [Name("earned_runs"), Index(22)] + [Name("ER"), Index(13)] public int EarnedRuns { get; set; } - [Name("home_runs_allowed"), Index(23)] + [Name("HR"), Index(14)] public int HomeRunsAllowed { get; set; } - [Name("walks_allowed"), Index(24)] + [Name("BB"), Index(15)] public int WalksAllowed { get; set; } - [Name("strikeouts"), Index(25)] + [Name("K"), Index(16)] public int Strikeouts { get; set; } - [Name("hit_by_pitch"), Index(26)] + [Name("IP"), Index(17)] + public double InningsPitched => OutsPitched / 3.0; + + [Name("ERA"), Index(18)] + public double EarnedRunAverage => EarnedRuns / InningsPitched; + + [Name("TP"), Index(19)] + public int TotalPitches { get; set; } + + [Name("SV"), Index(20)] + public int Saves { get; set; } + + [Name("HBP"), Index(21)] public int HitByPitch { get; set; } - [Name("batters_faced"), Index(27)] + [Name("Batters Faced"), Index(22)] public int BattersFaced { get; set; } - [Name("games_finished"), Index(28)] + [Name("Games Played"), Index(23)] + public int GamesPlayed { get; set; } + + [Name("Games Started"), Index(24)] + public int GamesStarted { get; set; } + + [Name("Games Finished"), Index(25)] public int GamesFinished { get; set; } - [Name("runs_allowed"), Index(29)] + [Name("Runs Allowed"), Index(26)] public int RunsAllowed { get; set; } - [Name("wild_pitches"), Index(30)] + [Name("WP"), Index(27)] public int WildPitches { get; set; } - - [Name("innings_pitched"), Index(31)] - public double InningsPitched => OutsPitched / 3.0; - [Name("era"), Index(32)] - public double EarnedRunAverage => EarnedRuns / InningsPitched; - - [Name("batting_average_against"), Index(33)] + [Name("BAA"), Index(28)] public double BattingAverageAgainst => HitsAllowed / (double) BattersFaced; + + [Name("FIP"), Index(29)] + public double FieldingIndependentPitching => + (((13 * HomeRunsAllowed) + (3 * (WalksAllowed + HitByPitch)) - + (2 * Strikeouts)) / (double) OutsPitched) + 3.10; - [Name("whip"), Index(34)] + [Name("WHIP"), Index(30)] public double WalksAndHitsPerInning => (WalksAllowed + HitsAllowed) / InningsPitched; - [Name("win_percentage"), Index(35)] + [Name("WPCT"), Index(31)] public double WinPercentage => Wins / (double) (Wins + Losses); - [Name("opponent_on_base_percentage"), Index(36)] + [Name("Opp OBP"), Index(32)] public double OpponentOnBasePercentage => (HitsAllowed + WalksAllowed + HitByPitch) / (double) BattersFaced; - [Name("strikeout_to_walk_ratio"), Index(37)] + [Name("K/BB"), Index(33)] public double StrikeoutToWalkRatio => Strikeouts / (double) WalksAllowed; - [Name("strikeouts_per_nine_innings"), Index(38)] + [Name("K/9"), Index(34)] public double StrikeoutsPerNineInnings => Strikeouts / (InningsPitched / 9.0); - [Name("walks_per_nine_innings"), Index(39)] + [Name("BB/9"), Index(35)] public double WalksPerNineInnings => WalksAllowed / (InningsPitched / 9.0); - [Name("hits_per_nine_innings"), Index(40)] + [Name("H/9"), Index(36)] public double HitsPerNineInnings => HitsAllowed / (InningsPitched / 9.0); - [Name("home_runs_per_nine_innings"), Index(41)] + [Name("HR/9"), Index(37)] public double HomeRunsPerNineInnings => HomeRunsAllowed / (InningsPitched / 9.0); - [Name("pitches_per_inning"), Index(42)] + [Name("Pitches Per Inning"), Index(38)] public double PitchesPerInning => TotalPitches / InningsPitched; - [Name("pitches_per_game"), Index(43)] + [Name("Pitches Per Game"), Index(39)] public double PitchesPerGame => TotalPitches / (double) GamesPlayed; } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/CareerStatistic.cs b/SMB3Explorer/Models/Exports/CareerStatistic.cs index 5fac359..ba0a022 100644 --- a/SMB3Explorer/Models/Exports/CareerStatistic.cs +++ b/SMB3Explorer/Models/Exports/CareerStatistic.cs @@ -8,33 +8,33 @@ namespace SMB3Explorer.Models.Exports; public class CareerStatistic { - [Name("aggregator_id"), Index(0)] + [Ignore] public int AggregatorId { get; set; } - [Name("stats_player_id"), Index(1)] + [Ignore] public int StatsPlayerId { get; set; } - [Name("player_id"), Index(2)] + [Ignore] public Guid? PlayerId { get; set; } - [Name("current_team"), Index(3)] + [Name("First Name"), Index(0)] + public string FirstName { get; set; } = string.Empty; + + [Name("Last Name"), Index(1)] + public string LastName { get; set; } = string.Empty; + + [Name("Team"), Index(2)] public string? CurrentTeam { get; set; } - [Name("most_recent_team"), Index(4)] + [Name("Prev Team"), Index(3)] public string? MostRecentTeam { get; set; } - [Name("second_most_recent_team"), Index(5)] + [Name("2nd Prev Team"), Index(4)] public string? SecondMostRecentTeam { get; set; } - - [Name("first_name"), Index(6)] - public string FirstName { get; set; } = string.Empty; - - [Name("last_name"), Index(7)] - public string LastName { get; set; } = string.Empty; - - [Name("retirement_season"), Index(8)] + + [Name("Retirement Season"), Index(5)] public int? RetirementSeason { get; set; } - [Name("age"), Index(9)] + [Name("Age"), Index(6)] public int Age { get; set; } } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/FranchisePlayoffStanding.cs b/SMB3Explorer/Models/Exports/FranchisePlayoffStanding.cs index f828b21..eeec0f8 100644 --- a/SMB3Explorer/Models/Exports/FranchisePlayoffStanding.cs +++ b/SMB3Explorer/Models/Exports/FranchisePlayoffStanding.cs @@ -7,36 +7,36 @@ namespace SMB3Explorer.Models.Exports; public class FranchisePlayoffStanding { - [Name("index"), Index(0)] + [Name("Index"), Index(0)] public int Index { get; set; } - [Name("season_id"), Index(1)] + [Ignore] public int SeasonId { get; set; } - [Name("season_num"), Index(2)] + [Name("Season"), Index(1)] public int SeasonNum { get; set; } - [Name("team_name"), Index(3)] + [Name("Team"), Index(2)] public string TeamName { get; set; } = string.Empty; - [Name("division_name"), Index(4)] + [Name("Division"), Index(3)] public string DivisionName { get; set; } = string.Empty; - [Name("conference_name"), Index(5)] + [Name("Conference"), Index(4)] public string ConferenceName { get; set; } = string.Empty; - [Name("wins"), Index(6)] + [Name("W"), Index(5)] public int Wins { get; set; } - [Name("losses"), Index(7)] + [Name("L"), Index(6)] public int Losses { get; set; } - [Name("runs_for"), Index(8)] + [Name("Runs For"), Index(7)] public int RunsFor { get; set; } - [Name("runs_against"), Index(9)] + [Name("Runs Against"), Index(8)] public int RunsAgainst { get; set; } - [Name("run_differential"), Index(10)] + [Name("Run Differential"), Index(9)] public int RunDifferential { get; set; } } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/FranchiseSeasonStanding.cs b/SMB3Explorer/Models/Exports/FranchiseSeasonStanding.cs index 414816f..5c8bbcf 100644 --- a/SMB3Explorer/Models/Exports/FranchiseSeasonStanding.cs +++ b/SMB3Explorer/Models/Exports/FranchiseSeasonStanding.cs @@ -7,42 +7,42 @@ namespace SMB3Explorer.Models.Exports; public class FranchiseSeasonStanding { - [Name("index"), Index(0)] + [Name("Index"), Index(0)] public int Index { get; set; } - [Name("season_id"), Index(1)] + [Ignore] public int SeasonId { get; set; } - [Name("season_num"), Index(2)] + [Name("Season"), Index(1)] public int SeasonNum { get; set; } - [Name("team_name"), Index(3)] + [Name("Team"), Index(2)] public string TeamName { get; set; } = string.Empty; - [Name("division_name"), Index(4)] + [Name("Division"), Index(3)] public string DivisionName { get; set; } = string.Empty; - [Name("conference_name"), Index(5)] + [Name("Conference"), Index(4)] public string ConferenceName { get; set; } = string.Empty; - [Name("wins"), Index(6)] + [Name("W"), Index(5)] public int Wins { get; set; } - [Name("losses"), Index(7)] + [Name("L"), Index(6)] public int Losses { get; set; } - [Name("runs_for"), Index(8)] + [Name("Runs For"), Index(7)] public int RunsFor { get; set; } - [Name("runs_against"), Index(9)] + [Name("Runs Against"), Index(8)] public int RunsAgainst { get; set; } - [Name("run_differential"), Index(10)] + [Name("Run Differential"), Index(9)] public int RunDifferential { get; set; } - [Name("win_percentage"), Index(11)] + [Name("WPCT"), Index(10)] public double WinPercentage { get; set; } - [Name("games_back"), Index(12)] + [Name("GB"), Index(11)] public double GamesBack { get; set; } } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/PitchingStatistic.cs b/SMB3Explorer/Models/Exports/PitchingStatistic.cs index 6674b38..c80fcc0 100644 --- a/SMB3Explorer/Models/Exports/PitchingStatistic.cs +++ b/SMB3Explorer/Models/Exports/PitchingStatistic.cs @@ -83,7 +83,7 @@ public abstract class PitchingStatistic [Name("TP"), Index(19)] public int TotalPitches { get; set; } - [Name("S"), Index(20)] + [Name("SV"), Index(20)] public int Saves { get; set; } [Name("HBP"), Index(21)] diff --git a/SMB3Explorer/Models/Exports/SeasonPlayer.cs b/SMB3Explorer/Models/Exports/SeasonPlayer.cs index 962939c..e5f418a 100644 --- a/SMB3Explorer/Models/Exports/SeasonPlayer.cs +++ b/SMB3Explorer/Models/Exports/SeasonPlayer.cs @@ -14,82 +14,83 @@ public class SeasonPlayer { private Trait[] _traits = Array.Empty(); - [Name("player_id"), Index(0)] + [Ignore] public Guid PlayerId { get; set; } - [Name("season_id"), Index(1)] + [Ignore] public int SeasonId { get; set; } - [Name("season_num"), Index(2)] + [Name("Season"), Index(0)] public int SeasonNum { get; set; } - [Name("first_name"), Index(3)] + [Name("First Name"), Index(1)] public string FirstName { get; set; } = string.Empty; - [Name("last_name"), Index(4)] + [Name("Last Name"), Index(2)] public string LastName { get; set; } = string.Empty; - [Name("primary_position"), Index(5)] + [Ignore] public int PrimaryPositionNumber { get; set; } - [Name("primary_position_name"), Index(6)] + [Name("Position"), Index(3)] // ReSharper disable once UnusedMember.Global public string PrimaryPositionDescription => ((BaseballPlayerPosition) PrimaryPositionNumber).GetEnumDescription(); - [Name("secondary_position"), Index(7)] + [Ignore] public int? SecondaryPositionNumber { get; set; } - [Name("secondary_position_name"), Index(8)] + [Name("Secondary Position"), Index(4)] // ReSharper disable once UnusedMember.Global public string? SecondaryPositionDescription => SecondaryPositionNumber is null ? null : ((BaseballPlayerPosition) SecondaryPositionNumber).GetEnumDescription(); - [Name("pitcher_role"), Index(9)] + [Ignore] public int? PitcherRole { get; set; } - [Name("pitcher_role_name"), Index(10)] + [Name("Pitcher Role"), Index(5)] // ReSharper disable once UnusedMember.Global public string? PitcherRoleDescription => PitcherRole is null ? null : ((PitcherRole) PitcherRole).GetEnumDescription(); - [Name("current_team"), Index(11)] + [Name("Team"), Index(6)] public string? CurrentTeam { get; set; } - [Name("previous_team"), Index(12)] + [Name("Prev Team"), Index(7)] public string? PreviousTeam { get; set; } - [Name("power"), Index(13)] + [Name("Power"), Index(8)] public int Power { get; set; } - [Name("contact"), Index(14)] + [Name("Contact"), Index(9)] public int Contact { get; set; } - [Name("speed"), Index(15)] + [Name("Speed"), Index(10)] public int Speed { get; set; } - [Name("fielding"), Index(16)] + [Name("Fielding"), Index(11)] public int Fielding { get; set; } - [Name("arm"), Index(17)] + [Name("Arm"), Index(12)] public int? Arm { get; set; } - [Name("velocity"), Index(18)] + [Name("Velocity"), Index(13)] public int? Velocity { get; set; } - [Name("junk"), Index(19)] + [Name("Junk"), Index(14)] public int? Junk { get; set; } - [Name("accuracy"), Index(20)] + [Name("Accuracy"), Index(15)] public int? Accuracy { get; set; } - [Name("age"), Index(21)] + [Name("Age"), Index(16)] public int Age { get; set; } - [Name("salary"), Index(22)] + [Name("Salary"), Index(17)] public int Salary { get; set; } + [Ignore] public Trait[] Traits { set @@ -104,9 +105,9 @@ public Trait[] Traits } } - [Name("trait_1"), Index(23)] + [Name("Trait 1"), Index(18)] public string? Trait1 { get; set; } - [Name("trait_2"), Index(24)] + [Name("Trait 2"), Index(19)] public string? Trait2 { get; set; } } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/SeasonSchedule.cs b/SMB3Explorer/Models/Exports/SeasonSchedule.cs index 9867fe1..7881a12 100644 --- a/SMB3Explorer/Models/Exports/SeasonSchedule.cs +++ b/SMB3Explorer/Models/Exports/SeasonSchedule.cs @@ -4,21 +4,21 @@ namespace SMB3Explorer.Models.Exports; public class SeasonSchedule { - [Name("season_id"), Index(0)] + [Ignore] public int SeasonId { get; set; } - [Name("season_num"), Index(1)] + [Name("Season"), Index(0)] public int SeasonNum { get; set; } - [Name("game_num"), Index(2)] + [Name("Game Number"), Index(1)] public int GameNum { get; set; } - [Name("day"), Index(3)] + [Name("Day"), Index(2)] public int Day { get; set; } - [Name("home_team"), Index(4)] + [Name("Home Team"), Index(3)] public string HomeTeam { get; set; } = string.Empty; - [Name("away_team"), Index(5)] + [Name("Away Team"), Index(4)] public string AwayTeam { get; set; } = string.Empty; } \ No newline at end of file diff --git a/SMB3Explorer/Models/Exports/SeasonTeam.cs b/SMB3Explorer/Models/Exports/SeasonTeam.cs index 5790d73..f4d4606 100644 --- a/SMB3Explorer/Models/Exports/SeasonTeam.cs +++ b/SMB3Explorer/Models/Exports/SeasonTeam.cs @@ -9,75 +9,75 @@ namespace SMB3Explorer.Models.Exports; public class SeasonTeam { - [Name("team_local_id"), Index(0)] + [Ignore] public int TeamLocalId { get; set; } - [Name("team_id"), Index(1)] + [Ignore] public Guid TeamId { get; set; } - [Name("team_name"), Index(2)] + [Name("Team"), Index(0)] public string TeamName { get; set; } = string.Empty; - [Name("division_name"), Index(3)] + [Name("Division"), Index(1)] public string DivisionName { get; set; } = string.Empty; - [Name("conference_name"), Index(4)] + [Name("Conference"), Index(2)] public string ConferenceName { get; set; } = string.Empty; - [Name("season_id"), Index(5)] + [Ignore] public int SeasonId { get; set; } - [Name("season_num"), Index(6)] + [Name("Season"), Index(3)] public int SeasonNum { get; set; } - [Name("budget"), Index(7)] + [Name("Budget"), Index(4)] public int Budget { get; set; } - [Name("payroll"), Index(8)] + [Name("Payroll"), Index(5)] public int Payroll { get; set; } - [Name("surplus"), Index(9)] + [Name("Surplus"), Index(6)] public int Surplus { get; set; } - [Name("surplus_per_game"), Index(10)] + [Name("Surplus/Game"), Index(7)] public int SurplusPerGame { get; set; } - [Name("wins"), Index(11)] + [Name("W"), Index(8)] public int Wins { get; set; } - [Name("losses"), Index(12)] + [Name("L"), Index(9)] public int Losses { get; set; } - [Name("run_differential"), Index(13)] + [Name("Run Differential"), Index(10)] public int RunDifferential { get; set; } - [Name("win_percentage"), Index(14)] + [Name("WPCT"), Index(11)] public double WinPercentage { get; set; } - [Name("games_back"), Index(15)] + [Name("GB"), Index(12)] public double GamesBack { get; set; } - [Name("power"), Index(16)] + [Name("Power"), Index(13)] public int Power { get; set; } - [Name("contact"), Index(17)] + [Name("Contact"), Index(14)] public int Contact { get; set; } - [Name("speed"), Index(18)] + [Name("Speed"), Index(15)] public int Speed { get; set; } - [Name("fielding"), Index(19)] + [Name("Fielding"), Index(16)] public int Fielding { get; set; } - [Name("arm"), Index(20)] + [Name("Arm"), Index(17)] public int Arm { get; set; } - [Name("velocity"), Index(21)] + [Name("Velocity"), Index(18)] public int Velocity { get; set; } - [Name("junk"), Index(22)] + [Name("Junk"), Index(19)] public int Junk { get; set; } - [Name("accuracy"), Index(23)] + [Name("Accuracy"), Index(20)] public int Accuracy { get; set; } } \ No newline at end of file