Refactor: Web Consolidation and Identity Stabilization #40
@@ -0,0 +1,15 @@
|
|||||||
|
namespace NexusReader.Application.Constants;
|
||||||
|
|
||||||
|
public static class PlanConstants
|
||||||
|
{
|
||||||
|
public const string Free = "Free";
|
||||||
|
public const string Pro = "Pro";
|
||||||
|
public const string Enterprise = "Enterprise";
|
||||||
|
|
||||||
|
public static int GetTokenLimit(string planName) => planName switch
|
||||||
|
{
|
||||||
|
Pro => 100000,
|
||||||
|
Enterprise => 1000000,
|
||||||
|
_ => 10000
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user