1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
| class ESPECE (models.Model):
ID = models.AutoField(null=False,blank=True,primary_key=True)
TYPO = models.CharField (max_length=25, blank=False)
HABITAT = models.CharField (max_length=35, blank=False)
NOM_CITE = models.CharField (max_length=255,null=True, blank=True)
LB_NOM = models.CharField(max_length=255,null=True, blank=True)
TYPE = models.CharField(max_length=255,null=True, blank=True)
CD_NOM = models.CharField(max_length=255)
NOM_COMPLET = models.CharField(max_length=255,null=True, blank=True)
def __unicode__(self):
return self.LB_NOM
class Meta :
db_table = 'ESPECE'
class TYPO_BARCELONE (models.Model):
ID = models.AutoField(null=False, blank=True,primary_key=True)
CLE_TRI = models.IntegerField(null=True, blank=True)
CD_HAB = models.CharField (max_length=25,primary_key=True)
CD_HAB_SUP = models.CharField (max_length=25)
LB_HABDH_UK = models.CharField (max_length=255)
NIVEAU = models.IntegerField (null=True, blank=True)
LB_DESCRI = models.CharField (max_length=255,blank=True)
def __unicode__(self):
return self.CD_HAB
class Meta :
db_table = 'TYPO_BARCELONE'
class TYPO_CH (models.Model):
ID = models.AutoField(null=False, blank=True,primary_key=True)
CD_HAB = models.CharField (max_length=25,primary_key=True)
CD_HAB_SUP = models.CharField (max_length=25)
NIVEAU = models.IntegerField (null=True, blank=True)
LB_NIVEAU = models.CharField (max_length=50)
FRANCE = models.CharField (max_length=6,blank=True)
LB_DESCRI = models.CharField (max_length=255,blank=True)
LB_CH_EN = models.CharField (max_length=255,blank=True)
LB_TOME_CH = models.CharField (max_length=10,blank=True)
CRSP_CB_SELON_CH_PUBLIES = models.CharField (max_length=100,blank=True)
CORR_CB = models.CharField (max_length=10,blank=True)
CLE_TRI = models.IntegerField(null=True, blank=True)
CRSP_CB_SELON_CH = models.CharField (max_length=100,blank=True)
REMARQUES_CORR_CB = models.CharField (max_length=255,blank=True)
def __unicode__(self):
return self.CD_HAB
class Meta :
db_table = 'TYPO_CH'
class TYPO_EUNIS_2008 (models.Model):
ID = models.AutoField(null=False, blank=True,primary_key=True)
CD_HAB = models.CharField (max_length=25)
CD_HAB_SUP = models.CharField (max_length=25)
NIVEAU = models.IntegerField (null=True, blank=True)
LB_NIVEAU = models.CharField (max_length=50)
FRANCE = models.CharField (max_length=6)
LB_EUNIS_FR = models.CharField (max_length=255,blank=True)
LB_DESCRI = models.CharField (max_length=1000,blank=True)
LB_DESCRI_EN = models.CharField (max_length=1000,blank=True)
NOTE = models.CharField (max_length=1000,blank=True)
REFCD = models.CharField (max_length = 10,blank=True)
def __unicode__(self):
return self.CD_HAB
class Meta :
db_table = 'TYPO_EUNIS_2008'
class TYPO_ZNIEFF_Dauvin_94 (models.Model):
ID = models.AutoField(null=False, blank=True,primary_key=True)
CD_HAB = models.CharField (max_length=25)
CD_HAB_SUP = models.CharField (max_length=25)
NIVEAU = models.IntegerField (null=True, blank=True)
LB_DESCRI = models.CharField (max_length=255)
commentaire_milieu = models.CharField (max_length=1000,blank=True)
commentaire_biogeographie = models.CharField (max_length=1000,blank=True)
rq_biocenoses = models.CharField (max_length=1000,blank=True)
def __unicode__(self):
return self.CD_HAB
class Meta :
db_table = 'TYPO_ZNIEFF_Dauvin_94'
class TYPO_BBMEDFR (models.Model):
ID = models.AutoField(null=False, blank=True,primary_key=True)
CD_HAB = models.CharField (max_length=25)
CD_HAB_SUP = models.CharField (max_length=25)
NIVEAU = models.IntegerField (null=True, blank=True)
LB_NIVEAU = models.CharField (max_length=25)
LB_DESCRI = models.CharField (max_length=255,blank=True)
FRANCE = models.CharField (max_length=6,blank=True)
LB_BBMEDFR_EN = models.CharField (max_length=1000,blank=True)
CLE_TRI = models.IntegerField(null=True, blank=True)
def __unicode__(self):
return self.CD_HAB
class Meta :
db_table = 'TYPO_BBMEDFR' |
Partager