View Javadoc
1   /*
2    * #%L
3    * SUMARiS
4    * %%
5    * Copyright (C) 2019 SUMARiS Consortium
6    * %%
7    * This program is free software: you can redistribute it and/or modify
8    * it under the terms of the GNU General Public License as
9    * published by the Free Software Foundation, either version 3 of the
10   * License, or (at your option) any later version.
11   *
12   * This program is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Public License for more details.
16   *
17   * You should have received a copy of the GNU General Public
18   * License along with this program.  If not, see
19   * <http://www.gnu.org/licenses/gpl-3.0.html>.
20   * #L%
21   */
22  
23  package net.sumaris.core.vo.data;
24  
25  import lombok.Data;
26  import lombok.experimental.FieldNameConstants;
27  import net.sumaris.core.model.data.IWithRecorderPersonEntity;
28  import net.sumaris.core.vo.administration.programStrategy.ProgramVO;
29  import net.sumaris.core.vo.administration.user.DepartmentVO;
30  import net.sumaris.core.vo.administration.user.PersonVO;
31  import net.sumaris.core.vo.referential.LocationVO;
32  
33  import java.util.Date;
34  import java.util.List;
35  import java.util.Map;
36  
37  @Data
38  @FieldNameConstants
39  public class VesselFeaturesVO implements IRootDataVO<Integer>,
40          IWithRecorderPersonEntity<Integer, PersonVO> {
41  
42      private Integer id;
43      private String name;
44      private String exteriorMarking;
45      private Integer administrativePower;
46      private Double lengthOverAll;
47      private Double grossTonnageGrt;
48      private Double grossTonnageGt;
49      private LocationVO basePortLocation;
50      private String comments;
51      private ProgramVO program;
52  
53      private Date startDate;
54      private Date endDate;
55  
56      private Date creationDate;
57      private Date updateDate;
58      private Date controlDate;
59      private Date validationDate;
60      private Date qualificationDate;
61      private String qualificationComments;
62      private Integer qualityFlagId;
63      private DepartmentVO recorderDepartment;
64      private PersonVO recorderPerson;
65  
66      private List<MeasurementVO> measurements;
67      private Map<Integer, String> measurementValues;
68  
69  }