ThemeAttachmentEnum.java 653 Bytes
Newer Older
刘基明's avatar
刘基明 committed
1
package com.tanpu.community.api.enums;
刘基明's avatar
刘基明 committed
2

刘基明's avatar
刘基明 committed
3 4
//1:产品 2:直播 3:短视频 4:课程
public enum ThemeAttachmentEnum {
刘基明's avatar
刘基明 committed
5

刘基明's avatar
刘基明 committed
6 7 8 9
    PRODUCT(1,"产品"),
    ZHIBO(2,"直播"),
    SHORTVIDEO(3,"短视频"),
    COURSE(4,"课程");
刘基明's avatar
刘基明 committed
10 11 12 13

    private Integer code;
    private String type;

刘基明's avatar
刘基明 committed
14
    ThemeAttachmentEnum(Integer code, String type) {
刘基明's avatar
刘基明 committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
        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;
    }
}