package com.bankaudit.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="risk_score_audit_subgrp_hst")
public class RiskScoreAuditSubgrpHst {

	
/*	Table: risk_score_audit_subgrp_wrk
	--------------------------------------

	Column Information
	----------------------

	Field                 Type          Collation          Null    Key     Default  Extra   Privileges                       Comment  
	--------------------  ------------  -----------------  ------  ------  -------  ------  -------------------------------  ---------
	legal_entity_code     int(2)        (NULL)             NO      PRI     (NULL)           select,insert,update,references           
	audit_type_code       varchar(20)   latin1_swedish_ci  NO      PRI     (NULL)           select,insert,update,references           
	audit_group_code      varchar(20)   latin1_swedish_ci  NO      PRI     (NULL)           select,insert,update,references           
	audit_sub_group_code  varchar(20)   latin1_swedish_ci  NO      PRI     (NULL)           select,insert,update,references           
	weightage             int(2)        (NULL)             YES             (NULL)           select,insert,update,references           
	auth_rej_remarks      varchar(200)  latin1_swedish_ci*/

	@Id
	@GeneratedValue(strategy = javax.persistence.GenerationType.IDENTITY)
	@Column(name="id")
	private Integer id;
	
	@Column(name="legal_entity_code")
	private Integer legalEntityCode;
	
	@Column(name="audit_type_code")
	private String auditTypeCode;

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


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

	
	@Column(name="weightage")
	private Integer weightage;

	
	
	public RiskScoreAuditSubgrpHst() {
		
	}

	/**
	 * @return the legalEntityCode
	 */
	public Integer getLegalEntityCode() {
		return legalEntityCode;
	}


	/**
	 * @param legalEntityCode the legalEntityCode to set
	 */
	public void setLegalEntityCode(Integer legalEntityCode) {
		this.legalEntityCode = legalEntityCode;
	}


	/**
	 * @return the auditTypeCode
	 */
	public String getAuditTypeCode() {
		return auditTypeCode;
	}


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


	/**
	 * @return the auditGroupCode
	 */
	public String getAuditGroupCode() {
		return auditGroupCode;
	}


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


	/**
	 * @return the auditSubGroupCode
	 */
	public String getAuditSubGroupCode() {
		return auditSubGroupCode;
	}


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


	/**
	 * @return the weightage
	 */
	public Integer getWeightage() {
		return weightage;
	}


	/**
	 * @param weightage the weightage to set
	 */
	public void setWeightage(Integer weightage) {
		this.weightage = weightage;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	
		
}
