package com.jasamedika.medifirst2000.entities;

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.Date;

/**
 * @author yudi Sarpras - Humas Digunakan untuk form
 *         DataPerusahaanYangBekerjaSama dan DataAsuransiYangBekerjaSama
 */
@Getter
@Setter
@Entity
@Table(name = "DataPerusahaanYangBekerjaSama_T")
public class DataPerusahaanYangBekerjaSama extends BaseTransaction {

	@Column(name = "NoPks", length = 200)
	@Caption(value = "No Pks")
	private String noPks;

	@ManyToOne
	@JoinColumn(name = "ObjectRekananFk")
	@Caption(value = "Rekanan")
	private Rekanan rekanan;

	@Column(name = "ObjectRekananFk", insertable = false, updatable = false)
	private Integer rekananId;

	@Column(name = "AnakPerusahaan", length = 200)
	@Caption(value = "Anak Perusahaan")
	private String anakPerusahaan;

	@Column(name = "JumlahKaryawan")
	@Caption(value = "Jumlah Karyawan")
	private Integer jumlahKaryawan;

	@Column(name = "Plafon", length = 200)
	@Caption(value = "Plafon")
	private String plafon;

	@Column(name = "CaraPenagihan", length = 200)
	@Caption(value = "Cara Penagihan")
	private String caraPenagihan;

	@Column(name = "Alamat", length = 200)
	@Caption(value = "Alamat")
	private String alamatPenagihan;

	@Column(name = "ContactPerson", length = 200)
	@Caption(value = "Contact Person")
	private String contactPerson;

	@Column(name = "JangkaAwal", length = 200)
	@Caption(value = "Jangka Awal")
	private Date jangkaAwal;

	@Column(name = "JangkaAkhir", length = 200)
	@Caption(value = "Jangka Akhir")
	private Date jangkaAkhir;

	@Column(name = "NamaFilePks", length = 200)
	@Caption(value = "Nama File Pks")
	private String namaFilePks;

	@Column(name = "NoTelpFax", length = 200)
	@Caption(value = "No Telp Fax")
	private String noTelpFax;

	@Column(name = "Email", length = 200)
	@Caption(value = "Email")
	private String email;

	@Column(name = "PathFile", length = 200)
	@Caption(value = "Path File")
	private String pathFile;

}
