package com.kamco.cd.kamcoback.log.dto;

import com.kamco.cd.kamcoback.config.enums.EnumType;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum EventType implements EnumType {
  CREATE("생성"),
  READ("조회"),
  UPDATE("수정"),
  DELETE("삭제"),
  DOWNLOAD("다운로드"),
  PRINT("출력"),
  OTHER("기타");

  private final String desc;

  @Override
  public String getId() {
    return name();
  }

  @Override
  public String getText() {
    return desc;
  }
}
