NpgsqlLexemeWeight.cs 583 B

1234567891011121314151617181920
  1. namespace Hotline.Repository.SqlSugar.Ts;
  2. public sealed class NpgsqlLexemeWeight
  3. {
  4. public const string A = "A";
  5. public const string B = "B";
  6. public const string C = "C";
  7. public const string D = "D";
  8. public const string E = "E";
  9. public static IReadOnlyList<KeyValuePair<string, string>> All() =>
  10. new List<KeyValuePair<string, string>>
  11. {
  12. new(A,"最高优先级"),
  13. new(B,"较高优先级"),
  14. new(C,"默认优先级"),
  15. new(D,"较低优先级"),
  16. new(E,"最低优先级"),
  17. };
  18. }