한채선/spring/July20RandomDice/src/main/java/kr/eddi/demo/entity/basic/ten/CardShape.java
package kr.eddi.demo.entity.basic.ten;

public enum CardShape {
    SPADE("스페이드", 1),
    DIAMOND("다이아몬드", 2),
    HEART("하트", 3),
    CLOVER("클로버", 4);

    private final String name;
    private final int value;

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