Resolve "Добавить статус события" #141

Merged
alefly merged 6 commits from 21-Event-status into master 2018-11-09 15:15:01 +04:00
Showing only changes of commit 0341a823d2 - Show all commits

View File

@ -0,0 +1,19 @@
package ru.ulstu.timeline.model;
public class EventStatusDto {
private final String id;
private final String name;
public EventStatusDto(Event.EventStatus status) {
this.id = status.name();
this.name = status.getName();
}
public String getId() {
return id;
}
public String getName() {
return name;
}
}