source: src/main/java/com/example/model/Enumerations/Status.java

Last change on this file was a51a591, checked in by colovik <j.colovik@…>, 14 months ago

final

  • Property mode set to 100644
File size: 375 bytes
Line 
1package com.example.model.Enumerations;
2
3public enum Status {
4 CREATED("Created"),
5 APPROVED("Approved"),
6 REJECTED("Rejected"),
7 PROCESSED("Processed");
8 private String name;
9 Status(String status) {
10 this.name=status;
11 }
12
13 public String getName() {
14 return this.name;
15 }
16
17 public String toString() {
18 return name;
19 }
20}
Note: See TracBrowser for help on using the repository browser.