export enum ECard {
  CARD_0 = "依法求偿权",
  CARD_1 = "信息安全权",
  CARD_2 = "公平交易权",
  CARD_3 = "受尊重权",
  CARD_4 = "受教育权",
  CARD_5 = "知情权",
  CARD_6 = "自主选择权",
  CARD_7 = "财产安全权",
}

export enum ECardType {
  A = "A",
  B = "B",
}

export const posterIdKv = [
  null, ECard.CARD_0, ECard.CARD_1, ECard.CARD_2, ECard.CARD_3,
  ECard.CARD_4, ECard.CARD_5, ECard.CARD_6, ECard.CARD_7,
];

export function getPosterId(card: ECard) {
  return posterIdKv.indexOf(card);
}

