BillName.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace JLHHJSvr.Com.Model
  7. {
  8. public static class BillNames
  9. {
  10. public const string MattressQuote = nameof(MattressQuote);
  11. public const string BedNetQuote = nameof(BedNetQuote);
  12. public const string SoftBedQuote = nameof(SoftBedQuote);
  13. public const string MattressInterface = nameof(MattressInterface);
  14. public const string MattressInterfaceQd = nameof(MattressInterfaceQd);
  15. public static string GetBillCnName(string keyword)
  16. {
  17. switch (keyword)
  18. {
  19. case BillNames.MattressQuote:
  20. return "床垫报价";
  21. case BillNames.BedNetQuote:
  22. return "床垫报价";
  23. case BillNames.SoftBedQuote:
  24. return "床垫报价";
  25. case BillNames.MattressInterface:
  26. return "床垫清单";
  27. default:
  28. return "未知单据";
  29. }
  30. }
  31. }
  32. }