All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.minlia.rocket.data.enumeration.DataStatusEnumeration Maven / Gradle / Ivy

There is a newer version: 2.0.4.1.RELEASE
Show newest version
package com.minlia.rocket.data.enumeration;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Status of data")
public enum DataStatusEnumeration implements WithStatusEnumeration {

  @ApiModelProperty(value = "Normal")
  NORMAL(1),
  @ApiModelProperty(value = "Locked")
  LOCKED(2),
  @ApiModelProperty(value = "Deleted")
  DELETED(3);


  private Integer status;


  private DataStatusEnumeration(Integer status) {
    this.status = status;
  }

  @Override
  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy