generated from 2martens/template-service
35 lines
1.3 KiB
Java
35 lines
1.3 KiB
Java
package de.twomartens.oparlservice.entity;
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.*;
|
|
import lombok.experimental.SuperBuilder;
|
|
|
|
import java.util.List;
|
|
|
|
@SuperBuilder
|
|
@Getter
|
|
@ToString
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@AllArgsConstructor(access = AccessLevel.PRIVATE)
|
|
@NoArgsConstructor(force = true, access = AccessLevel.PRIVATE)
|
|
@Schema(allOf = CommonFields.class)
|
|
public class Consultation extends CommonFields {
|
|
@Schema(description = "URL to the paper related to this consultation", nullable = true)
|
|
private final String paper;
|
|
|
|
@Schema(description = "URL to the agenda item related to this consultation", nullable = true)
|
|
private final String agendaItem;
|
|
|
|
@Schema(description = "URL to the meeting related to this consultation", nullable = true)
|
|
private final String meeting;
|
|
|
|
@Schema(description = "List of URLs to organizations that participate in this consultation", nullable = true)
|
|
private final List<String> organization;
|
|
|
|
@Schema(description = "True if a decision will be or has been reached in this consultation")
|
|
private final boolean authoritative;
|
|
|
|
@Schema(description = "role or function of this consultation", example = "Anhörung, Entscheidung, usw", nullable = true)
|
|
private final String role;
|
|
}
|