Premier jet pour le formulaire de poste (manque le financement)
[auf_rh_dae.git] / project / dae / migrations / 0002_auto__add_validationemploye__add_validationposte__add_validation__add_.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 # Adding model 'ValidationEmploye'
12 db.create_table('dae_validationemploye', (
13 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14 ('employe', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.Employe'])),
15 ))
16 db.send_create_signal('dae', ['ValidationEmploye'])
17
18 # Adding model 'ValidationPoste'
19 db.create_table('dae_validationposte', (
20 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
21 ('poste', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.Poste'])),
22 ))
23 db.send_create_signal('dae', ['ValidationPoste'])
24
25 # Adding model 'Validation'
26 db.create_table('dae_validation', (
27 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
28 ('date', self.gf('django.db.models.fields.DateField')()),
29 ))
30 db.send_create_signal('dae', ['Validation'])
31
32 # Adding model 'DocumentPoste'
33 db.create_table('dae_documentposte', (
34 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
35 ))
36 db.send_create_signal('dae', ['DocumentPoste'])
37
38 # Adding model 'Dossier'
39 db.create_table('dae_dossier', (
40 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
41 ('statut_anterieur', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Statut'])),
42 ('poste', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.Poste'])),
43 ('statut', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Statut'])),
44 ('organisme_bstg', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.OrganismeBstg'])),
45 ('remplacement', self.gf('django.db.models.fields.BooleanField')(default=False)),
46 ('mobilite_interne', self.gf('django.db.models.fields.BooleanField')(default=False)),
47 ('statut_residence', self.gf('django.db.models.fields.CharField')(max_length=10)),
48 ('classement', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Classement'])),
49 ('salaire', self.gf('django.db.models.fields.DecimalField')(default=None, null=True, max_digits=12, decimal_places=2)),
50 ('devise', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Devise'])),
51 ('regime_travail', self.gf('django.db.models.fields.DecimalField')(max_digits=12, decimal_places=2)),
52 ('regime_travail_nb_heure_semaine', self.gf('django.db.models.fields.DecimalField')(max_digits=12, decimal_places=2)),
53 ('type_contrat', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.TypeContrat'])),
54 ('contrat_date_debut', self.gf('django.db.models.fields.DateField')()),
55 ('contrat_date_fin', self.gf('django.db.models.fields.DateField')()),
56 ('contrat_nb_mois', self.gf('django.db.models.fields.IntegerField')()),
57 ('compte_compta', self.gf('django.db.models.fields.CharField')(max_length=10)),
58 ('compte_courriel', self.gf('django.db.models.fields.BooleanField')(default=False)),
59 ))
60 db.send_create_signal('dae', ['Dossier'])
61
62 # Adding model 'DocumentEmploye'
63 db.create_table('dae_documentemploye', (
64 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
65 ))
66 db.send_create_signal('dae', ['DocumentEmploye'])
67
68 # Adding model 'Poste'
69 db.create_table('dae_poste', (
70 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
71 ('id_rh', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', null=True, to=orm['rh_v1.Poste'])),
72 ('nom', self.gf('django.db.models.fields.CharField')(max_length=255)),
73 ('implantation', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['datamaster_modeles.Implantation'])),
74 ('type_poste', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', null=True, to=orm['rh_v1.TypePoste'])),
75 ('service', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Service'])),
76 ('responsable', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Poste'])),
77 ('regime_travail', self.gf('django.db.models.fields.DecimalField')(default=100, max_digits=12, decimal_places=2)),
78 ('regime_travail_nb_heure_semaine', self.gf('django.db.models.fields.DecimalField')(default=40, max_digits=12, decimal_places=2)),
79 ('statut_residence', self.gf('django.db.models.fields.CharField')(default='MAD', max_length=10)),
80 ('mise_a_disposition', self.gf('django.db.models.fields.BooleanField')(default=False)),
81 ('appel', self.gf('django.db.models.fields.CharField')(default='interne', max_length=10)),
82 ('classement_min', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Classement'])),
83 ('classement_max', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Classement'])),
84 ('valeur_point_min', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.ValeurPoint'])),
85 ('valeur_point_max', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.ValeurPoint'])),
86 ('salaire_min', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=12, decimal_places=2)),
87 ('salaire_max', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=12, decimal_places=2)),
88 ('indemn_min', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=12, decimal_places=2)),
89 ('indemn_max', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=12, decimal_places=2)),
90 ('autre_min', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=12, decimal_places=2)),
91 ('autre_max', self.gf('django.db.models.fields.DecimalField')(default=0, max_digits=12, decimal_places=2)),
92 ('devise_comparaison', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='+', null=True, to=orm['rh_v1.Devise'])),
93 ('comp_locale_min', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
94 ('comp_locale_max', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
95 ('comp_universite_min', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
96 ('comp_universite_max', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
97 ('comp_fonctionpub_min', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
98 ('comp_fonctionpub_max', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
99 ('comp_ong_min', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
100 ('comp_ong_max', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
101 ('comp_autre_min', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
102 ('comp_autre_max', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=12, decimal_places=2, blank=True)),
103 ('date_creation', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
104 ('date_modification', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
105 ('date_debut', self.gf('django.db.models.fields.DateField')()),
106 ('date_fin', self.gf('django.db.models.fields.DateField')(null=True)),
107 ('actif', self.gf('django.db.models.fields.BooleanField')(default=True)),
108 ))
109 db.send_create_signal('dae', ['Poste'])
110
111 # Adding model 'TypeRemuneration'
112 db.create_table('dae_typeremuneration', (
113 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
114 ('ordre', self.gf('django.db.models.fields.IntegerField')()),
115 ('groupe', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.GroupeTypeRemuneration'])),
116 ))
117 db.send_create_signal('dae', ['TypeRemuneration'])
118
119 # Adding model 'PosteFinancement'
120 db.create_table('dae_postefinancement', (
121 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
122 ('montant', self.gf('django.db.models.fields.DecimalField')(max_digits=12, decimal_places=2)),
123 ('poste', self.gf('django.db.models.fields.related.ForeignKey')(related_name='financements', to=orm['dae.Poste'])),
124 ('type', self.gf('django.db.models.fields.CharField')(max_length=1)),
125 ('pourcentage', self.gf('django.db.models.fields.DecimalField')(max_digits=12, decimal_places=2)),
126 ('commentaire', self.gf('django.db.models.fields.TextField')()),
127 ))
128 db.send_create_signal('dae', ['PosteFinancement'])
129
130 # Adding model 'Employe'
131 db.create_table('dae_employe', (
132 ('id', self.gf('django.db.models.fields.IntegerField')(primary_key=True)),
133 ('id_rh', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', null=True, to=orm['rh_v1.Employe'])),
134 ('nom', self.gf('django.db.models.fields.CharField')(max_length=255)),
135 ('prenom', self.gf('django.db.models.fields.CharField')(max_length=255)),
136 ('genre', self.gf('django.db.models.fields.CharField')(max_length=1, null=True, blank=True)),
137 ))
138 db.send_create_signal('dae', ['Employe'])
139
140 # Adding model 'JustificationPoste'
141 db.create_table('dae_justificationposte', (
142 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
143 ))
144 db.send_create_signal('dae', ['JustificationPoste'])
145
146 # Adding model 'PosteComparatifExterne'
147 db.create_table('dae_postecomparatifexterne', (
148 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
149 ('poste', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.Poste'])),
150 ('montant', self.gf('django.db.models.fields.DecimalField')(max_digits=12, decimal_places=2)),
151 ('devise', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['rh_v1.Devise'])),
152 ('min_max', self.gf('django.db.models.fields.CharField')(max_length=10)),
153 ('type_org', self.gf('django.db.models.fields.CharField')(max_length=10)),
154 ))
155 db.send_create_signal('dae', ['PosteComparatifExterne'])
156
157 # Adding model 'GroupeTypeRemuneration'
158 db.create_table('dae_groupetyperemuneration', (
159 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
160 ('nom', self.gf('django.db.models.fields.CharField')(max_length=255)),
161 ('ordre', self.gf('django.db.models.fields.IntegerField')()),
162 ))
163 db.send_create_signal('dae', ['GroupeTypeRemuneration'])
164
165 # Adding model 'JustificationEmploye'
166 db.create_table('dae_justificationemploye', (
167 ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
168 ))
169 db.send_create_signal('dae', ['JustificationEmploye'])
170
171 # Adding model 'Remuneration'
172 db.create_table('dae_remuneration', (
173 ('id', self.gf('django.db.models.fields.IntegerField')(primary_key=True)),
174 ('dossier', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.Dossier'], db_column='dossier')),
175 ('type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dae.TypeRemuneration'], db_column='type')),
176 ('montant', self.gf('django.db.models.fields.DecimalField')(max_digits=12, decimal_places=2)),
177 ('devise', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to_field='code', db_column='devise', to=orm['rh_v1.Devise'])),
178 ('date_effective', self.gf('django.db.models.fields.DateField')()),
179 ('pourcentage', self.gf('django.db.models.fields.IntegerField')()),
180 ('date_creation', self.gf('django.db.models.fields.DateField')(auto_now_add=True, blank=True)),
181 ('user_creation', self.gf('django.db.models.fields.IntegerField')()),
182 ('desactivation', self.gf('django.db.models.fields.BooleanField')(default=False)),
183 ('date_desactivation', self.gf('django.db.models.fields.DateField')()),
184 ('user_desactivation', self.gf('django.db.models.fields.IntegerField')()),
185 ('annule', self.gf('django.db.models.fields.BooleanField')(default=False)),
186 ('date_annule', self.gf('django.db.models.fields.DateField')()),
187 ('user_annule', self.gf('django.db.models.fields.IntegerField')()),
188 ))
189 db.send_create_signal('dae', ['Remuneration'])
190
191
192 def backwards(self, orm):
193
194 # Deleting model 'ValidationEmploye'
195 db.delete_table('dae_validationemploye')
196
197 # Deleting model 'ValidationPoste'
198 db.delete_table('dae_validationposte')
199
200 # Deleting model 'Validation'
201 db.delete_table('dae_validation')
202
203 # Deleting model 'DocumentPoste'
204 db.delete_table('dae_documentposte')
205
206 # Deleting model 'Dossier'
207 db.delete_table('dae_dossier')
208
209 # Deleting model 'DocumentEmploye'
210 db.delete_table('dae_documentemploye')
211
212 # Deleting model 'Poste'
213 db.delete_table('dae_poste')
214
215 # Deleting model 'TypeRemuneration'
216 db.delete_table('dae_typeremuneration')
217
218 # Deleting model 'PosteFinancement'
219 db.delete_table('dae_postefinancement')
220
221 # Deleting model 'Employe'
222 db.delete_table('dae_employe')
223
224 # Deleting model 'JustificationPoste'
225 db.delete_table('dae_justificationposte')
226
227 # Deleting model 'PosteComparatifExterne'
228 db.delete_table('dae_postecomparatifexterne')
229
230 # Deleting model 'GroupeTypeRemuneration'
231 db.delete_table('dae_groupetyperemuneration')
232
233 # Deleting model 'JustificationEmploye'
234 db.delete_table('dae_justificationemploye')
235
236 # Deleting model 'Remuneration'
237 db.delete_table('dae_remuneration')
238
239
240 models = {
241 'dae.documentemploye': {
242 'Meta': {'object_name': 'DocumentEmploye'},
243 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
244 },
245 'dae.documentposte': {
246 'Meta': {'object_name': 'DocumentPoste'},
247 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
248 },
249 'dae.dossier': {
250 'Meta': {'object_name': 'Dossier'},
251 'classement': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Classement']"}),
252 'compte_compta': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
253 'compte_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
254 'contrat_date_debut': ('django.db.models.fields.DateField', [], {}),
255 'contrat_date_fin': ('django.db.models.fields.DateField', [], {}),
256 'contrat_nb_mois': ('django.db.models.fields.IntegerField', [], {}),
257 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
258 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
259 'mobilite_interne': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
260 'organisme_bstg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.OrganismeBstg']"}),
261 'poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Poste']"}),
262 'regime_travail': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
263 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
264 'remplacement': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
265 'salaire': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
266 'statut': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Statut']"}),
267 'statut_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Statut']"}),
268 'statut_residence': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
269 'type_contrat': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.TypeContrat']"})
270 },
271 'dae.employe': {
272 'Meta': {'object_name': 'Employe'},
273 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
274 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
275 'id_rh': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Employe']"}),
276 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
277 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
278 },
279 'dae.groupetyperemuneration': {
280 'Meta': {'object_name': 'GroupeTypeRemuneration'},
281 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
282 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
283 'ordre': ('django.db.models.fields.IntegerField', [], {})
284 },
285 'dae.justificationemploye': {
286 'Meta': {'object_name': 'JustificationEmploye'},
287 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
288 },
289 'dae.justificationposte': {
290 'Meta': {'object_name': 'JustificationPoste'},
291 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
292 },
293 'dae.poste': {
294 'Meta': {'object_name': 'Poste'},
295 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
296 'appel': ('django.db.models.fields.CharField', [], {'default': "'interne'", 'max_length': '10'}),
297 'autre_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
298 'autre_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
299 'classement_max': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Classement']"}),
300 'classement_min': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Classement']"}),
301 'comp_autre_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
302 'comp_autre_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
303 'comp_fonctionpub_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
304 'comp_fonctionpub_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
305 'comp_locale_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
306 'comp_locale_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
307 'comp_ong_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
308 'comp_ong_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
309 'comp_universite_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
310 'comp_universite_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
311 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
312 'date_debut': ('django.db.models.fields.DateField', [], {}),
313 'date_fin': ('django.db.models.fields.DateField', [], {'null': 'True'}),
314 'date_modification': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
315 'devise_comparaison': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Devise']"}),
316 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
317 'id_rh': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Poste']"}),
318 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']"}),
319 'indemn_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
320 'indemn_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
321 'mise_a_disposition': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
322 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
323 'regime_travail': ('django.db.models.fields.DecimalField', [], {'default': '100', 'max_digits': '12', 'decimal_places': '2'}),
324 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'default': '40', 'max_digits': '12', 'decimal_places': '2'}),
325 'responsable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Poste']"}),
326 'salaire_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
327 'salaire_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
328 'service': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Service']"}),
329 'statut_residence': ('django.db.models.fields.CharField', [], {'default': "'MAD'", 'max_length': '10'}),
330 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.TypePoste']"}),
331 'valeur_point_max': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.ValeurPoint']"}),
332 'valeur_point_min': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.ValeurPoint']"})
333 },
334 'dae.postecomparatifexterne': {
335 'Meta': {'object_name': 'PosteComparatifExterne'},
336 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
337 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
338 'min_max': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
339 'montant': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
340 'poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Poste']"}),
341 'type_org': ('django.db.models.fields.CharField', [], {'max_length': '10'})
342 },
343 'dae.postefinancement': {
344 'Meta': {'object_name': 'PosteFinancement'},
345 'commentaire': ('django.db.models.fields.TextField', [], {}),
346 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
347 'montant': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
348 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'financements'", 'to': "orm['dae.Poste']"}),
349 'pourcentage': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
350 'type': ('django.db.models.fields.CharField', [], {'max_length': '1'})
351 },
352 'dae.remuneration': {
353 'Meta': {'object_name': 'Remuneration'},
354 'annule': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
355 'date_annule': ('django.db.models.fields.DateField', [], {}),
356 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
357 'date_desactivation': ('django.db.models.fields.DateField', [], {}),
358 'date_effective': ('django.db.models.fields.DateField', [], {}),
359 'desactivation': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
360 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to_field': "'code'", 'db_column': "'devise'", 'to': "orm['rh_v1.Devise']"}),
361 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Dossier']", 'db_column': "'dossier'"}),
362 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
363 'montant': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
364 'pourcentage': ('django.db.models.fields.IntegerField', [], {}),
365 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.TypeRemuneration']", 'db_column': "'type'"}),
366 'user_annule': ('django.db.models.fields.IntegerField', [], {}),
367 'user_creation': ('django.db.models.fields.IntegerField', [], {}),
368 'user_desactivation': ('django.db.models.fields.IntegerField', [], {})
369 },
370 'dae.typeremuneration': {
371 'Meta': {'object_name': 'TypeRemuneration'},
372 'groupe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.GroupeTypeRemuneration']"}),
373 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
374 'ordre': ('django.db.models.fields.IntegerField', [], {})
375 },
376 'dae.validation': {
377 'Meta': {'object_name': 'Validation'},
378 'date': ('django.db.models.fields.DateField', [], {}),
379 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
380 },
381 'dae.validationemploye': {
382 'Meta': {'object_name': 'ValidationEmploye'},
383 'employe': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Employe']"}),
384 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
385 },
386 'dae.validationposte': {
387 'Meta': {'object_name': 'ValidationPoste'},
388 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
389 'poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Poste']"})
390 },
391 'datamaster_modeles.bureau': {
392 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
393 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
394 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
395 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
396 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
397 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
398 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
399 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
400 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
401 },
402 'datamaster_modeles.implantation': {
403 'Meta': {'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
404 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
405 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
406 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
407 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
408 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
409 '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']"}),
410 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
411 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
412 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
413 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
414 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
415 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
416 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
417 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
418 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
419 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
420 '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']"}),
421 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
422 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
423 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
424 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
425 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
426 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
427 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
428 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
429 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
430 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
431 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
432 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
433 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
434 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
435 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
436 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
437 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
438 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
439 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
440 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
441 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
442 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
443 'modif_date': ('django.db.models.fields.DateField', [], {}),
444 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
445 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
446 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
447 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
448 'remarque': ('django.db.models.fields.TextField', [], {}),
449 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
450 'statut': ('django.db.models.fields.IntegerField', [], {}),
451 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
452 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
453 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
454 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
455 },
456 'datamaster_modeles.pays': {
457 'Meta': {'object_name': 'Pays', 'db_table': "u'ref_pays'"},
458 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
459 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2'}),
460 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
461 'code_iso3': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3', 'blank': 'True'}),
462 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
463 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
464 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
465 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
466 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
467 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
468 },
469 'datamaster_modeles.region': {
470 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
471 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
472 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
473 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
474 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
475 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
476 },
477 'rh_v1.classement': {
478 'Meta': {'object_name': 'Classement'},
479 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
480 'coefficient': ('django.db.models.fields.FloatField', [], {}),
481 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
482 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
483 'degre': ('django.db.models.fields.IntegerField', [], {}),
484 'echelon': ('django.db.models.fields.IntegerField', [], {}),
485 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
486 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
487 },
488 'rh_v1.devise': {
489 'Meta': {'object_name': 'Devise'},
490 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'}),
491 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
492 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
493 },
494 'rh_v1.employe': {
495 'Meta': {'object_name': 'Employe'},
496 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
497 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
498 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
499 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
500 'date_entree': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
501 'date_maj': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
502 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
503 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
504 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
505 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nationalite'", 'to_field': "'code'", 'db_column': "'nationalite'", 'to': "orm['datamaster_modeles.Pays']"}),
506 'no_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
507 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
508 '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'}),
509 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
510 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
511 'situation_famille': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
512 'tel_cellulaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
513 'tel_domicile': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
514 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
515 },
516 'rh_v1.familleemploi': {
517 'Meta': {'object_name': 'FamilleEmploi'},
518 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
519 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
520 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
521 },
522 'rh_v1.organismebstg': {
523 'Meta': {'object_name': 'OrganismeBstg'},
524 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
525 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
526 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
527 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
528 },
529 'rh_v1.poste': {
530 'Meta': {'object_name': 'Poste'},
531 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
532 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
533 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
534 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
535 'proportion': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
536 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh_v1.TypePoste']", 'db_column': "'type_poste'"})
537 },
538 'rh_v1.service': {
539 'Meta': {'object_name': 'Service'},
540 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
541 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
542 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
543 },
544 'rh_v1.statut': {
545 'Meta': {'object_name': 'Statut'},
546 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
547 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '25'}),
548 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
549 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
550 'type_contrat_categorie': ('django.db.models.fields.CharField', [], {'max_length': '10'})
551 },
552 'rh_v1.typecontrat': {
553 'Meta': {'object_name': 'TypeContrat'},
554 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
555 'categorie': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
556 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
557 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
558 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255'})
559 },
560 'rh_v1.typeposte': {
561 'Meta': {'object_name': 'TypePoste'},
562 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
563 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
564 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
565 'famille_emploi': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh_v1.FamilleEmploi']", 'db_column': "'famille_emploi'"}),
566 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
567 'is_responsable': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
568 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
569 'nom_feminin': ('django.db.models.fields.CharField', [], {'max_length': '255'})
570 },
571 'rh_v1.valeurpoint': {
572 'Meta': {'object_name': 'ValeurPoint'},
573 'annee': ('django.db.models.fields.IntegerField', [], {}),
574 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
575 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
576 'valeur': ('django.db.models.fields.FloatField', [], {})
577 }
578 }
579
580 complete_apps = ['dae']