--- /dev/null
+<?php
+
+class Version extends AlloObject {
+
+ const NATURE_PATCH = "patch";
+ const NATURE_MAJ_MIN = "majmin";
+ const NATURE_MAJ_MAJ = "majmaj";
+
+ const NATURE_PATCH_LIBELLE = "Patch";
+ const NATURE_MAJ_MIN_LIBELLE = "Mise à jour mineure";
+ const NATURE_MAJ_MAJ_LIBELLE = "Mise à jour majeure";
+
+ public static function getNatureList(){
+ return array(
+ self::NATURE_PATCH => self::NATURE_PATCH_LIBELLE,
+ self::NATURE_MAJ_MIN => self::NATURE_MAJ_MIN_LIBELLE,
+ self::NATURE_MAJ_MAJ => self::NATURE_MAJ_MAJ_LIBELLE,
+ );
+ }
+
+ public $id;
+
+ public $value;
+
+ public $product;
+
+ public $nature;
+
+ public $sugar_id = "";
+
+}