-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for calculating and providing instrument rank (#26)
* Enhance Instrument Statistics with AIM Filter Integration * Adjusted 'Group by Day' threshold in GetDateFormatForRange * Added support for calculating and providing instrument rank
- Loading branch information
Showing
6 changed files
with
205 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using MongoDB.Bson; | ||
|
||
namespace WomPlatform.Web.Api.DTO; | ||
|
||
public abstract class RankDTO { | ||
public ObjectId Id { get; set; } | ||
public string Name { get; set; } | ||
public int Rank { get; set; } | ||
} | ||
|
||
public class SourceRankDTO : RankDTO { | ||
public int TotalGeneratedAmount { get; set; } | ||
public int TotalRedeemedAmount { get; set; } | ||
|
||
} | ||
|
||
public class MerchantRankDTO : RankDTO { | ||
public int Amount { get; set; } | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters