/*
Cette classe permet de créer un champ virtuel pour pouvoir le vérifier grâce à la classe Verification.
Les get ne sont pas indispensable pour la bonne marche de la classe car les attributs sont publics.

@Othantic Conseil
*/
/*
Les différents types : 
	-text
	-cp
	-mail
	-date
	-tel
	-chkb
	-radio
*/
function Champ(id, label, type, obligatoire, min_carac, max_carac){
	var id;
	var label;
	var type;
	var obligatoire;
	var min_carac;
	var max_carac;

	/* Les fonctions get ... */
	this.get_id = function(){
		return this.id;
	}
	this.get_label = function(){
		return this.label;
	}
	this.get_type = function(){
		return this.type;
	}
	this.get_obligatoire = function(){
		return this.obligatoire;
	}
	this.get_min_carac = function(){
		return this.min_carac;
	}
	this.get_max_carac = function(){
		return this.mimax_carac;
	}
	/* Constructeur de la classe */
	this.id = id;
	this.label = label;
	this.type = type;
	this.obligatoire = obligatoire;
	this.min_carac = min_carac;
	this.max_carac = max_carac;	

}
