-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMissionFishActionDataOutput.kt
74 lines (72 loc) · 3.97 KB
/
MissionFishActionDataOutput.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package fr.gouv.dgampa.rapportnav.infrastructure.api.bff.model.v2
import fr.gouv.dgampa.rapportnav.domain.entities.mission.fish.fishActions.*
import fr.gouv.dgampa.rapportnav.domain.entities.mission.nav.control.ControlAdministrativeEntity
import fr.gouv.dgampa.rapportnav.domain.entities.mission.nav.control.ControlGensDeMerEntity
import fr.gouv.dgampa.rapportnav.domain.entities.mission.nav.control.ControlNavigationEntity
import fr.gouv.dgampa.rapportnav.domain.entities.mission.nav.control.ControlSecurityEntity
import java.time.Instant
class MissionFishActionDataOutput(
override val startDateTimeUtc: Instant? = null,
override val endDateTimeUtc: Instant? = null,
override val vesselId: Int? = null,
override val vesselName: String? = null,
override val internalReferenceNumber: String? = null,
override val externalReferenceNumber: String? = null,
override val districtCode: String? = null,
override val faoAreas: List<String> = listOf(),
override val fishActionType: MissionActionType,
override val emitsVms: ControlCheck? = null,
override val emitsAis: ControlCheck? = null,
override val logbookMatchesActivity: ControlCheck? = null,
override val licencesMatchActivity: ControlCheck? = null,
override val speciesWeightControlled: Boolean? = null,
override val speciesSizeControlled: Boolean? = null,
override val separateStowageOfPreservedSpecies: ControlCheck? = null,
override val logbookInfractions: List<LogbookInfraction> = listOf(),
override val licencesAndLogbookObservations: String? = null,
override val gearInfractions: List<GearInfraction> = listOf(),
override val speciesInfractions: List<SpeciesInfraction> = listOf(),
override val speciesObservations: String? = null,
override val seizureAndDiversion: Boolean? = null,
override val otherInfractions: List<OtherInfraction> = listOf(),
override val numberOfVesselsFlownOver: Int? = null,
override val unitWithoutOmegaGauge: Boolean? = null,
override val controlQualityComments: String? = null,
override val feedbackSheetRequired: Boolean? = null,
override val userTrigram: String? = null,
override val segments: List<FleetSegment> = listOf(),
override val facade: String? = null,
override val longitude: Double? = null,
override val latitude: Double? = null,
override val portLocode: String? = null,
// This field is only used when fetching missions
override var portName: String? = null,
override val vesselTargeted: ControlCheck? = null,
override val seizureAndDiversionComments: String? = null,
override val otherComments: String? = null,
override val gearOnboard: List<GearControl> = listOf(),
override val speciesOnboard: List<SpeciesControl> = listOf(),
override val isFromPoseidon: Boolean? = null,
override val isDeleted: Boolean? = null,
override val hasSomeGearsSeized: Boolean? = null,
override val hasSomeSpeciesSeized: Boolean? = null,
override val completedBy: String? = null,
override val completion: Completion? = null,
override val isAdministrativeControl: Boolean? = null,
override val isComplianceWithWaterRegulationsControl: Boolean? = null,
override val isSafetyEquipmentAndStandardsComplianceControl: Boolean? = null,
override val isSeafarersControl: Boolean? = null,
override var observationsByUnit: String? = null,
override var speciesQuantitySeized: Int? = null,
override val controlSecurity: ControlSecurityEntity? = null,
override val controlGensDeMer: ControlGensDeMerEntity? = null,
override val controlNavigation: ControlNavigationEntity? = null,
override val controlAdministrative: ControlAdministrativeEntity? = null,
) : MissionActionDataOutput(
startDateTimeUtc = startDateTimeUtc,
endDateTimeUtc = endDateTimeUtc,
controlSecurity = controlSecurity,
controlGensDeMer = controlGensDeMer,
controlNavigation = controlNavigation,
controlAdministrative = controlAdministrative
), BaseMissionFishActionDataOutput