package com.mandi.fendan.persist; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="fd_company_vehicle") public class Fd_Company_Vehicle implements Serializable{ @Id private String companyNo; @Id private String vehicleId; @Id private String sdepartNo; public String getCompanyNo() { return companyNo; } public void setCompanyNo(String companyNo) { this.companyNo = companyNo; } public String getVehicleId() { return vehicleId; } public void setVehicleId(String vehicleId) { this.vehicleId = vehicleId; } public String getSdepartNo() { return sdepartNo; } public void setSdepartNo(String sdepartNo) { this.sdepartNo = sdepartNo; } }