source: src/main/java/it/finki/tinki/model/Skill.java@ e6ff724

Last change on this file since e6ff724 was e6ff724, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 417 bytes
Line 
1package it.finki.tinki.model;
2
3import lombok.Data;
4
5import javax.persistence.Entity;
6import javax.persistence.GeneratedValue;
7import javax.persistence.GenerationType;
8import javax.persistence.Id;
9
10@Entity
11@Data
12public class Skill {
13
14 @Id
15 @GeneratedValue(strategy = GenerationType.IDENTITY)
16 Long id;
17
18 String name;
19
20 public Skill(){}
21
22 public Skill(String name) {
23 this.name = name;
24 }
25}
Note: See TracBrowser for help on using the repository browser.