Projekt

Obecné

Profil

Stáhnout (689 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
package cz.zcu.kiv.backendapi.sources;
2

    
3
import com.fasterxml.jackson.annotation.JsonIgnore;
4
import io.swagger.v3.oas.annotations.media.Schema;
5
import lombok.AllArgsConstructor;
6
import lombok.Data;
7
import lombok.NoArgsConstructor;
8

    
9
import javax.persistence.Column;
10
import javax.persistence.Entity;
11
import javax.persistence.Id;
12
import javax.persistence.Table;
13

    
14
/**
15
 * Class representing sources
16
 */
17
@Data
18
@NoArgsConstructor
19
@AllArgsConstructor
20
@Entity
21
@Table(name = "sources")
22
@Schema(name = "SourcesDto")
23
public class Sources {
24
    /**
25
     * ID
26
     */
27
    @Id
28
    @JsonIgnore
29
    private Long id;
30

    
31
    /**
32
     * Sources
33
     */
34
    @Column(length = 100000)
35
    private String sources;
36
}
(2-2/5)