pieces jointes
[auf_rh_dae.git] / project / dae / migrations / 0012_auto__add_field_piece_poste.py
1 # encoding: utf-8
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6
7 class Migration(SchemaMigration):
8
9 def forwards(self, orm):
10
11 # Removing M2M table for field pieces on 'Poste'
12 db.delete_table('dae_poste_pieces')
13
14 # Adding field 'Piece.poste'
15 db.add_column('dae_piece', 'poste', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['dae.Poste']), keep_default=False)
16
17
18 def backwards(self, orm):
19
20 # Adding M2M table for field pieces on 'Poste'
21 db.create_table('dae_poste_pieces', (
22 ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
23 ('poste', models.ForeignKey(orm['dae.poste'], null=False)),
24 ('piece', models.ForeignKey(orm['dae.piece'], null=False))
25 ))
26 db.create_unique('dae_poste_pieces', ['poste_id', 'piece_id'])
27
28 # Deleting field 'Piece.poste'
29 db.delete_column('dae_piece', 'poste_id')
30
31
32 models = {
33 'dae.documentemploye': {
34 'Meta': {'object_name': 'DocumentEmploye'},
35 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
36 },
37 'dae.documentposte': {
38 'Meta': {'object_name': 'DocumentPoste'},
39 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
40 },
41 'dae.dossier': {
42 'Meta': {'object_name': 'Dossier'},
43 'classement': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Classement']"}),
44 'classement_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
45 'classement_titulaire_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
46 'compte_compta': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
47 'compte_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
48 'contrat_date_debut': ('django.db.models.fields.DateField', [], {}),
49 'contrat_date_fin': ('django.db.models.fields.DateField', [], {}),
50 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
51 'employe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['dae.Employe']"}),
52 'employe_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Employe']"}),
53 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
54 'organisme_bstg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.OrganismeBstg']"}),
55 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['dae.Poste']"}),
56 'regime_travail': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
57 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
58 'remplacement': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
59 'salaire': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
60 'salaire_anterieur': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
61 'salaire_titulaire_anterieur': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
62 'statut': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Statut']"}),
63 'statut_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Statut']"}),
64 'statut_residence': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
65 'statut_titulaire_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Statut']"}),
66 'type_contrat': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.TypeContrat']"})
67 },
68 'dae.employe': {
69 'Meta': {'object_name': 'Employe'},
70 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
71 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
72 'id_rh': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Employe']"}),
73 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
74 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
75 },
76 'dae.groupetyperemuneration': {
77 'Meta': {'object_name': 'GroupeTypeRemuneration'},
78 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
80 'ordre': ('django.db.models.fields.IntegerField', [], {})
81 },
82 'dae.justificationemploye': {
83 'Meta': {'object_name': 'JustificationEmploye'},
84 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
85 },
86 'dae.justificationposte': {
87 'Meta': {'object_name': 'JustificationPoste'},
88 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
89 },
90 'dae.piece': {
91 'Meta': {'object_name': 'Piece'},
92 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
93 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
94 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
95 'poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Poste']"})
96 },
97 'dae.poste': {
98 'Meta': {'object_name': 'Poste'},
99 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
100 'appel': ('django.db.models.fields.CharField', [], {'default': "'interne'", 'max_length': '10'}),
101 'autre_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
102 'autre_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
103 'classement_max': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Classement']"}),
104 'classement_min': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Classement']"}),
105 'coefficient_max': ('django.db.models.fields.FloatField', [], {'null': 'True'}),
106 'coefficient_min': ('django.db.models.fields.FloatField', [], {'null': 'True'}),
107 'comp_autre_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
108 'comp_autre_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
109 'comp_fonctionpub_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
110 'comp_fonctionpub_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
111 'comp_locale_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
112 'comp_locale_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
113 'comp_ong_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
114 'comp_ong_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
115 'comp_universite_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
116 'comp_universite_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
117 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
118 'date_debut': ('django.db.models.fields.DateField', [], {}),
119 'date_fin': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
120 'date_modification': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
121 'devise_comparaison': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
122 'devise_max': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
123 'devise_min': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
124 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
125 'id_rh': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Poste']"}),
126 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']"}),
127 'indemn_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
128 'indemn_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
129 'mise_a_disposition': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
130 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
131 'regime_travail': ('django.db.models.fields.DecimalField', [], {'default': '100', 'max_digits': '12', 'decimal_places': '2'}),
132 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'default': '40', 'max_digits': '12', 'decimal_places': '2'}),
133 'responsable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Poste']"}),
134 'salaire_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
135 'salaire_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
136 'service': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Service']"}),
137 'statut_residence': ('django.db.models.fields.CharField', [], {'default': "'MAD'", 'max_length': '10'}),
138 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.TypePoste']"}),
139 'valeur_point_max': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.ValeurPoint']"}),
140 'valeur_point_min': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.ValeurPoint']"})
141 },
142 'dae.postefinancement': {
143 'Meta': {'object_name': 'PosteFinancement'},
144 'commentaire': ('django.db.models.fields.TextField', [], {}),
145 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146 'montant': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
147 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'financements'", 'to': "orm['dae.Poste']"}),
148 'pourcentage': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
149 'type': ('django.db.models.fields.CharField', [], {'max_length': '1'})
150 },
151 'dae.remuneration': {
152 'Meta': {'object_name': 'Remuneration'},
153 'annulation': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
154 'date_annulation': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
155 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
156 'date_desactivation': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
157 'date_effective': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
158 'desactivation': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
159 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to_field': "'code'", 'db_column': "'devise'", 'to': "orm['rh_v1.Devise']"}),
160 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Dossier']", 'db_column': "'dossier'"}),
161 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
162 'montant': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
163 'pourcentage': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
164 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.TypeRemuneration']", 'db_column': "'type'"}),
165 'user_annulation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
166 'user_creation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
167 'user_desactivation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
168 },
169 'dae.typeremuneration': {
170 'Meta': {'object_name': 'TypeRemuneration'},
171 'groupe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.GroupeTypeRemuneration']"}),
172 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
173 'ordre': ('django.db.models.fields.IntegerField', [], {})
174 },
175 'dae.validation': {
176 'Meta': {'object_name': 'Validation'},
177 'date': ('django.db.models.fields.DateField', [], {}),
178 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
179 },
180 'dae.validationemploye': {
181 'Meta': {'object_name': 'ValidationEmploye'},
182 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Employe']"}),
183 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
184 },
185 'dae.validationposte': {
186 'Meta': {'object_name': 'ValidationPoste'},
187 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
188 'poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Poste']"})
189 },
190 'datamaster_modeles.bureau': {
191 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
192 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
193 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
194 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
195 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
196 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
197 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
198 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
199 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
200 },
201 'datamaster_modeles.implantation': {
202 'Meta': {'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
203 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
204 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
205 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
206 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
207 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
208 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'to_field': "'code'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
209 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
210 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
211 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
212 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
213 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
214 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
215 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
216 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
217 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
218 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
219 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'to_field': "'code'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
220 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
221 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
222 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
223 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
224 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
225 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
226 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
227 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
228 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
229 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
230 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
231 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
232 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
233 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
234 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
235 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
236 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
237 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
238 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
239 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
240 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
241 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
242 'modif_date': ('django.db.models.fields.DateField', [], {}),
243 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
244 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
245 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
246 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
247 'remarque': ('django.db.models.fields.TextField', [], {}),
248 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
249 'statut': ('django.db.models.fields.IntegerField', [], {}),
250 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
251 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
252 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
253 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
254 },
255 'datamaster_modeles.pays': {
256 'Meta': {'object_name': 'Pays', 'db_table': "u'ref_pays'"},
257 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
258 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2'}),
259 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
260 'code_iso3': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3', 'blank': 'True'}),
261 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
262 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
263 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
264 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
265 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
266 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
267 },
268 'datamaster_modeles.region': {
269 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
270 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
271 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
272 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
273 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
274 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
275 },
276 'rh_v1.classement': {
277 'Meta': {'object_name': 'Classement'},
278 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
279 'coefficient': ('django.db.models.fields.FloatField', [], {}),
280 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
281 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
282 'degre': ('django.db.models.fields.IntegerField', [], {}),
283 'echelon': ('django.db.models.fields.IntegerField', [], {}),
284 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
285 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
286 },
287 'rh_v1.devise': {
288 'Meta': {'object_name': 'Devise'},
289 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'}),
290 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
291 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
292 },
293 'rh_v1.employe': {
294 'Meta': {'object_name': 'Employe'},
295 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
296 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
297 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
298 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
299 'date_entree': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
300 'date_maj': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
301 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
302 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
303 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
304 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nationalite'", 'to_field': "'code'", 'db_column': "'nationalite'", 'to': "orm['datamaster_modeles.Pays']"}),
305 'no_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
306 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
307 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pays'", 'db_column': "'pays'", 'to_field': "'code'", 'to': "orm['datamaster_modeles.Pays']", 'blank': 'True', 'null': 'True'}),
308 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
309 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
310 'situation_famille': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
311 'tel_cellulaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
312 'tel_domicile': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
313 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
314 },
315 'rh_v1.familleemploi': {
316 'Meta': {'object_name': 'FamilleEmploi'},
317 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
318 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
319 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
320 },
321 'rh_v1.organismebstg': {
322 'Meta': {'object_name': 'OrganismeBstg'},
323 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
324 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
325 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
326 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
327 },
328 'rh_v1.poste': {
329 'Meta': {'object_name': 'Poste'},
330 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
331 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
332 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
333 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
334 'proportion': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
335 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh_v1.TypePoste']", 'db_column': "'type_poste'"})
336 },
337 'rh_v1.service': {
338 'Meta': {'object_name': 'Service'},
339 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
340 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
341 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
342 },
343 'rh_v1.statut': {
344 'Meta': {'object_name': 'Statut'},
345 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
346 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '25'}),
347 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
348 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
349 'type_contrat_categorie': ('django.db.models.fields.CharField', [], {'max_length': '10'})
350 },
351 'rh_v1.typecontrat': {
352 'Meta': {'object_name': 'TypeContrat'},
353 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
354 'categorie': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
355 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
356 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
357 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255'})
358 },
359 'rh_v1.typeposte': {
360 'Meta': {'object_name': 'TypePoste'},
361 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
362 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
363 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
364 'famille_emploi': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh_v1.FamilleEmploi']", 'db_column': "'famille_emploi'"}),
365 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
366 'is_responsable': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
367 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
368 'nom_feminin': ('django.db.models.fields.CharField', [], {'max_length': '255'})
369 },
370 'rh_v1.valeurpoint': {
371 'Meta': {'object_name': 'ValeurPoint'},
372 'annee': ('django.db.models.fields.IntegerField', [], {}),
373 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
374 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
375 'valeur': ('django.db.models.fields.FloatField', [], {})
376 }
377 }
378
379 complete_apps = ['dae']