ThemeAttachmentEnum.java 653 Bytes
package com.tanpu.community.api.enums;

//1:产品 2:直播 3:短视频 4:课程
public enum ThemeAttachmentEnum {

    PRODUCT(1,"产品"),
    ZHIBO(2,"直播"),
    SHORTVIDEO(3,"短视频"),
    COURSE(4,"课程");

    private Integer code;
    private String type;

    ThemeAttachmentEnum(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}