공필석/spring/demo/src/main/java/kr/eddi/demo/entity/basic/twelveth/PockerCardPattern.java
<reponame>EDDI-WebAppAcademy/Homeworkpackage kr.eddi.demo.entity.basic.twelveth;

import lombok.Getter;

@Getter
public enum PockerCardPattern {
    HIGH_CARD("하이카드", 1),
    ONE_PAIR("원페어", 2),
    TWO_PAIR("투페어", 3),
    TRIPPLE("트리플", 4),
    STRAIGHT("스트레이트", 5),
    FLUSH("플러쉬", 6),
    FULL_HOUSE("풀 하우스", 7),
    FOUR_CARD("포카드", 8),
    STRAIGHT_FLUSH("스트레이트 플러쉬", 9),
    ROYAL_FLUSH("로열 플러쉬", 10);

    private final String name;
    private final int value;

    private PockerCardPattern(String name, int value) {
        this.name = name;
        this.value = value;
    }
}
