package com.bizzan.bitrade.constant;

import com.bizzan.bitrade.core.BaseEnum;
import com.fasterxml.jackson.annotation.JsonValue;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 
 * @description 系统广告位置
 * @date 2019/1/6 15:59
 */
@AllArgsConstructor
@Getter
public enum SysAdvertiseLocation implements BaseEnum {
    //app 首页轮播
    APP_SHUFFLING("app首页轮播"),
    //pc 首页轮播
    PC_SHUFFLING("pc首页轮播"),
    //pc 分类广告
    PC_CLASSIFICATION("pc分类广告"),
    PROMOTION("分享图片");
    @Setter
    private String cnName;
    @Override
    @JsonValue
    public int getOrdinal() {
        return ordinal();
    }
}
