2024-09-17 02:53:17 +03:00
|
|
|
package TestingSystem.Common.Group.Json;
|
2024-09-18 16:18:50 +03:00
|
|
|
import Common.Utils.Utils;
|
2024-09-17 02:53:17 +03:00
|
|
|
import TestingSystem.Common.Group.Group;
|
|
|
|
|
import com.google.gson.annotations.Expose;
|
2024-09-18 16:18:50 +03:00
|
|
|
public class GroupJson {
|
2024-09-17 02:53:17 +03:00
|
|
|
@Expose
|
|
|
|
|
public int id;
|
|
|
|
|
@Expose
|
|
|
|
|
public String description;
|
2024-09-18 16:18:50 +03:00
|
|
|
@Expose
|
|
|
|
|
public String language;
|
|
|
|
|
public GroupJson(Group group) {
|
|
|
|
|
id = group.id;
|
2024-09-28 21:47:17 +03:00
|
|
|
language = group.language.toString();
|
|
|
|
|
description = group.description;
|
2024-09-18 16:18:50 +03:00
|
|
|
}
|
|
|
|
|
public GroupJson() {
|
2024-09-17 02:53:17 +03:00
|
|
|
}
|
|
|
|
|
}
|