package com.gree.mall.manager.enums.workorder;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.gree.mall.manager.enums.base.BaseEnum;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum IncreTypeEnum implements BaseEnum, IEnum<Integer> {

    A("1","延保"),
    B("2","清洗");

    @JsonValue
    @EnumValue
    private final String key;
    private final String remark;


    @Override
    public Integer getValue() {
        return getIntKey();
    }
}
