Permalink
Browse files

implement lombok, remove getter/setter

  • Loading branch information...
endymuhardin committed Oct 11, 2017
1 parent fe9c196 commit d8686f6cc4306b75109d88e2834f7e58456c60f6
Showing with 81 additions and 1,316 deletions.
  1. +5 −0 pom.xml
  2. +3 −33 src/main/java/id/ac/tazkia/dosen/entity/BidangIlmu.java
  3. +3 −31 src/main/java/id/ac/tazkia/dosen/entity/BuktiKinerja.java
  4. +3 −32 src/main/java/id/ac/tazkia/dosen/entity/BuktiKinerjaKegiatan.java
  5. +3 −32 src/main/java/id/ac/tazkia/dosen/entity/BuktiPenugasan.java
  6. +3 −32 src/main/java/id/ac/tazkia/dosen/entity/BuktiPenugasanKegiatan.java
  7. +2 −216 src/main/java/id/ac/tazkia/dosen/entity/Dosen.java
  8. +2 −24 src/main/java/id/ac/tazkia/dosen/entity/Fakultas.java
  9. +3 −24 src/main/java/id/ac/tazkia/dosen/entity/JenisBuktiKegiatan.java
  10. +2 −48 src/main/java/id/ac/tazkia/dosen/entity/JenisKegiatan.java
  11. +2 −32 src/main/java/id/ac/tazkia/dosen/entity/JenisPengajuanDokumen.java
  12. +2 −32 src/main/java/id/ac/tazkia/dosen/entity/JenisSurat.java
  13. +3 −25 src/main/java/id/ac/tazkia/dosen/entity/KategoriBuktiKegiatan.java
  14. +2 −26 src/main/java/id/ac/tazkia/dosen/entity/KategoriKegiatan.java
  15. +3 −32 src/main/java/id/ac/tazkia/dosen/entity/Kecamatan.java
  16. +3 −104 src/main/java/id/ac/tazkia/dosen/entity/KegiatanBelajarMengajar.java
  17. +3 −105 src/main/java/id/ac/tazkia/dosen/entity/KegiatanDosen.java
  18. +3 −32 src/main/java/id/ac/tazkia/dosen/entity/Kota.java
  19. +2 −146 src/main/java/id/ac/tazkia/dosen/entity/PengajuanDosenProfile.java
  20. +7 −27 src/main/java/id/ac/tazkia/dosen/entity/Permission.java
  21. +2 −40 src/main/java/id/ac/tazkia/dosen/entity/PoinKegiatan.java
  22. +3 −41 src/main/java/id/ac/tazkia/dosen/entity/ProgramStudi.java
  23. +3 −25 src/main/java/id/ac/tazkia/dosen/entity/Provinsi.java
  24. +3 −33 src/main/java/id/ac/tazkia/dosen/entity/Role.java
  25. +3 −24 src/main/java/id/ac/tazkia/dosen/entity/SatuanHasilKegiatan.java
  26. +2 −49 src/main/java/id/ac/tazkia/dosen/entity/SuratTugas.java
  27. +3 −48 src/main/java/id/ac/tazkia/dosen/entity/User.java
  28. +3 −23 src/main/java/id/ac/tazkia/dosen/entity/UserPassword.java
View
@@ -58,6 +58,11 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
@@ -7,11 +7,14 @@
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.NotEmpty;
@Entity
@Table(name = "m_bidang_ilmu")
@Data
public class BidangIlmu implements Serializable{
@Id
@GeneratedValue(generator = "uuid")
@@ -31,37 +34,4 @@
@Size(max = 255)
private String keterangan;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getKode() {
return kode;
}
public void setKode(String kode) {
this.kode = kode;
}
public String getNama() {
return nama;
}
public void setNama(String nama) {
this.nama = nama;
}
public String getKeterangan() {
return keterangan;
}
public void setKeterangan(String keterangan) {
this.keterangan = keterangan;
}
}
@@ -14,6 +14,8 @@
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.NotEmpty;
@@ -26,6 +28,7 @@
*/
@Entity
@Table(name = "t_bukti_kinerja")
@Data
public class BuktiKinerja implements Serializable {
@Id
@@ -43,37 +46,6 @@
@ManyToOne
@JoinColumn(name = "id_kegiatan_belajar_mengajar", nullable = false)
private KegiatanBelajarMengajar kegiatanBelajarMengajar;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNama() {
return nama;
}
public void setNama(String nama) {
this.nama = nama;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public KegiatanBelajarMengajar getKegiatanBelajarMengajar() {
return kegiatanBelajarMengajar;
}
public void setKegiatanBelajarMengajar(KegiatanBelajarMengajar kegiatanBelajarMengajar) {
this.kegiatanBelajarMengajar = kegiatanBelajarMengajar;
}
}
@@ -8,6 +8,8 @@
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.NotEmpty;
@@ -20,6 +22,7 @@
*/
@Entity
@Table(name = "t_bukti_kinerja_kegiatan")
@Data
public class BuktiKinerjaKegiatan {
@Id
@@ -37,37 +40,5 @@
@ManyToOne
@JoinColumn(name = "id_kegiatan_dosen", nullable = false)
private KegiatanDosen kegiatanDosen;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNama() {
return nama;
}
public void setNama(String nama) {
this.nama = nama;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public KegiatanDosen getKegiatanDosen() {
return kegiatanDosen;
}
public void setKegiatanDosen(KegiatanDosen kegiatanDosen) {
this.kegiatanDosen = kegiatanDosen;
}
}
@@ -13,6 +13,8 @@
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.NotEmpty;
@@ -25,6 +27,7 @@
*/
@Entity
@Table(name = "t_bukti_penugasan")
@Data
public class BuktiPenugasan implements Serializable {
@Id
@@ -44,36 +47,4 @@
@JoinColumn(name = "id_kegiatan_belajar_mengajar")
private KegiatanBelajarMengajar kegiatanBelajarMengajar;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNama() {
return nama;
}
public void setNama(String nama) {
this.nama = nama;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public KegiatanBelajarMengajar getKegiatanBelajarMengajar() {
return kegiatanBelajarMengajar;
}
public void setKegiatanBelajarMengajar(KegiatanBelajarMengajar kegiatanBelajarMengajar) {
this.kegiatanBelajarMengajar = kegiatanBelajarMengajar;
}
}
@@ -9,6 +9,8 @@
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.NotEmpty;
@@ -21,6 +23,7 @@
*/
@Entity
@Table(name = "t_bukti_penugasan_kegiatan")
@Data
public class BuktiPenugasanKegiatan implements Serializable {
@Id
@@ -39,36 +42,4 @@
@JoinColumn(name = "id_kegiatan_dosen", nullable = false)
private KegiatanDosen kegiatanDosen;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNama() {
return nama;
}
public void setNama(String nama) {
this.nama = nama;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public KegiatanDosen getKegiatanDosen() {
return kegiatanDosen;
}
public void setKegiatanDosen(KegiatanDosen kegiatanDosen) {
this.kegiatanDosen = kegiatanDosen;
}
}
Oops, something went wrong.

0 comments on commit d8686f6

Please sign in to comment.