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