rpc_enum_labels.dart 620 B

12345678910111213141516171819202122
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. abstract class RpcEnumLabels {
  3. static final gender = <GenderEnum, String>{
  4. GenderEnum.Male: "男",
  5. GenderEnum.Female: "女",
  6. GenderEnum.Unknown: "未知",
  7. GenderEnum.Unspecified: "未说明",
  8. };
  9. static final cardType = <CardTypeEnum, String>{
  10. CardTypeEnum.Identity: "身份证",
  11. CardTypeEnum.Passport: "护照",
  12. CardTypeEnum.SocialInsurance: "社保卡",
  13. };
  14. static final followUpMode = <FollowUpModeEnum, String>{
  15. FollowUpModeEnum.Outpatient: "门诊",
  16. FollowUpModeEnum.Visit: "家庭",
  17. FollowUpModeEnum.Phone: "电话",
  18. };
  19. }