70 lines
2.1 KiB
Java
70 lines
2.1 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseMaster;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.*;
|
|
|
|
import static javax.persistence.FetchType.LAZY;
|
|
import static javax.persistence.GenerationType.SEQUENCE;
|
|
|
|
/**
|
|
* class MapAsKepIntervensiToProduk
|
|
*
|
|
* @author Generator
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "MapUraianTugasToRincianKegiatan_M")
|
|
public class MapUraianTugasToRincianKegiatan extends BaseMaster {
|
|
|
|
@Column(name = "QRincianKegiatan", length = 100)
|
|
@Caption(value = "QRincianKegiatan")
|
|
private Byte qRincianKegiatan;
|
|
|
|
@Column(name = "KdRincianKegiatan", length = 100)
|
|
@Caption(value = "KdRincianKegiatan")
|
|
private Integer kdRincianKegiatan;
|
|
|
|
@Column(name = "NoUrut", length = 10)
|
|
@Caption(value = "NoUrut")
|
|
private String noUrut;
|
|
|
|
@Column(name = "Bobot", length = 10)
|
|
@Caption(value = "Bobot")
|
|
private String bobot;
|
|
|
|
@Column(name = "Target", length = 10)
|
|
@Caption(value = "Target")
|
|
private String target;
|
|
|
|
@Column(name = "RincianKegiatan", length = 8000)
|
|
@Caption(value = "RincianKegiatan")
|
|
private String rincianKegiatan;
|
|
|
|
@ManyToOne(fetch = LAZY)
|
|
@JoinColumn(name = "ObjectMapJabatanToUraianTugasFk")
|
|
@Caption(value = "ObjectMapJabatanToUraianTugasFk")
|
|
private MapJabatanToUraianTugas mapJabatanToUraianTugas;
|
|
|
|
@Column(name = "ObjectMapJabatanToUraianTugasFk", insertable = false, updatable = false)
|
|
private Integer mapJabatanToUraianTugasId;
|
|
|
|
@ManyToOne(fetch = LAZY)
|
|
@JoinColumn(name = "ObjectPelaksanaanTugasFk")
|
|
@Caption(value = "ObjectPelaksanaanTugasFk")
|
|
private PelaksanaanTugas pelaksanaanTugas;
|
|
|
|
@Column(name = "ObjectPelaksanaanTugasFk", insertable = false, updatable = false)
|
|
private Integer pelaksanaanTugasId;
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = SEQUENCE, generator = "public.mapuraiantugastorinciankegiatan_m_id_seq")
|
|
@SequenceGenerator(name = "public.mapuraiantugastorinciankegiatan_m_id_seq", sequenceName = "public.mapuraiantugastorinciankegiatan_m_id_seq", allocationSize = 1)
|
|
@Column(name = "id")
|
|
protected Integer id;
|
|
|
|
} |