Skip to content

Commit

Permalink
revert: field order in Ranking class
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocorallo committed Aug 22, 2024
1 parent 93fac7a commit 5e59ab6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions PoliNetwork.Graduatorie.Parser/Objects/RankingNS/Ranking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ namespace PoliNetwork.Graduatorie.Parser.Objects.RankingNS;
[JsonObject(MemberSerialization.Fields, NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class Ranking : IComparable<Ranking>, IEquatable<Ranking>
{
public required List<CourseTable> ByCourse;
public required MeritTable ByMerit;
public required string Extra;
public required DateTime LastUpdate;
public required RankingOrder RankingOrder;
public required RankingSummary RankingSummary;
public required SchoolEnum School;
public required RankingUrl Url;
public required int Year;
public required RankingUrl Url;
public required string Extra;
public required RankingOrder RankingOrder;
public required RankingSummary RankingSummary;
public required MeritTable ByMerit;
public required List<CourseTable> ByCourse;

public int CompareTo(Ranking? other)
{
Expand Down Expand Up @@ -180,4 +180,4 @@ public override int GetHashCode()
{
return GetHashWithoutLastUpdate();
}
}
}

0 comments on commit 5e59ab6

Please sign in to comment.