All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.registration.entity.RegMachineSpec Maven / Gradle / Ivy

package io.mosip.registration.entity;

import java.io.Serializable;

import javax.persistence.*;

/**
 * The Entity Class for Reg Machine Spec.
 *
 * @author Sreekar chukka
 * @since 1.0.0
 */
@Entity
@Table(name = "machine_spec", schema = "reg")
public class RegMachineSpec extends RegistrationCommonFields implements Serializable {

	/**
	* 
	*/
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "id")
	private String id;

	@Column(name = "name")
	private String name;

	@Column(name = "brand")
	private String brand;

	@Column(name = "model")
	private String model;

	@Column(name = "mtyp_code")
	private String machineTypeCode;

	@Column(name = "min_driver_ver")
	private String minDriverversion;

	@Column(name = "descr")
	private String description;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumns({ @JoinColumn(name = "mtyp_code", referencedColumnName = "code", insertable = false, updatable = false)})
	private MachineType machineType;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the brand
	 */
	public String getBrand() {
		return brand;
	}

	/**
	 * @param brand the brand to set
	 */
	public void setBrand(String brand) {
		this.brand = brand;
	}

	/**
	 * @return the model
	 */
	public String getModel() {
		return model;
	}

	/**
	 * @param model the model to set
	 */
	public void setModel(String model) {
		this.model = model;
	}

	/**
	 * @return the machineTypeCode
	 */
	public String getMachineTypeCode() {
		return machineTypeCode;
	}

	/**
	 * @param machineTypeCode the machineTypeCode to set
	 */
	public void setMachineTypeCode(String machineTypeCode) {
		this.machineTypeCode = machineTypeCode;
	}

	/**
	 * @return the minDriverversion
	 */
	public String getMinDriverversion() {
		return minDriverversion;
	}

	/**
	 * @param minDriverversion the minDriverversion to set
	 */
	public void setMinDriverversion(String minDriverversion) {
		this.minDriverversion = minDriverversion;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}


	public MachineType getMachineType() {
		return machineType;
	}

	public void setMachineType(MachineType machineType) {
		this.machineType = machineType;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy