-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqlTypes.py
More file actions
299 lines (230 loc) · 4.51 KB
/
sqlTypes.py
File metadata and controls
299 lines (230 loc) · 4.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
from typing_extensions import TypedDict
class CompetitionInfo(TypedDict):
Naziv: str
Program: str
Mjesto: str
Adresa: str
Datum: str
Napomena: str
Kategorija: int
id: int
hss_id: int
class CompetitionWithPosition(CompetitionInfo):
Pozicija: int
class ShooterRequiredInfo(TypedDict):
id: int
Ime: str
Prezime: str
Spol: str
Oib: str
Datum: str
MjestoRodjenja: str
Adresa: str
MjestoStanovanja: str
HSS: str
class ShooterContactInfo(TypedDict):
id: int
TelefonKuca: str
TelefonPosao: str
Mobitel1: str
Mobitel2: str
Email: str
class ShooterGeneralInfo(TypedDict):
id: int
StrucnaSprema: str
Zaposlenje: str
Hobi: str
Banka: str
Ziro: str
class ShooterPINInfo(TypedDict):
id: int
OI: str
OIMjesto: str
OITrajna: int
OIDatum: str
Putovnica: str
PutovnicaDatum: str
PutovnicaPostoji: int
PutovnicaMjesto: str
Drzavljanstvo: str
class ShooterHSSInfo(TypedDict):
id: int
Oib: str
MjestoRodjenja: str
Adresa: str
MjestoStanovanja: str
HSS: str
OI: str
OITrajna: int
OIDatum: str
OIMjesto: str
Putovnica: str
PutovnicaPostoji: int
PutovnicaMjesto: str
PutovnicaDatum: str
Drzavljanstvo: str
StrucnaSprema: str
Zaposlenje: str
Hobi: str
Banka: str
Ziro: str
TelefonKuca: str
TelefonPosao: str
Mobitel1: str
Mobitel2: str
Email: str
Registracija: int
Obavijesti: int
Lijecnicki: str
class ShooterMinimal(TypedDict):
Ime: str
Prezime: str
id: int
class Shooter(TypedDict):
Strijelac: str
id: int
class ShooterBasicInfo(TypedDict):
Ime: str
Prezime: str
Datum: str
Spol: str
id: int
class ShooterNotificationsSettings(ShooterBasicInfo):
Putovnica: int
Osobna: int
Lijecnicki: int
Rodjendan: int
class RetiredShooter(ShooterBasicInfo):
DatumUmirovljenja: str
class ShootersBasicInfoWithPosition(ShooterBasicInfo):
Pozicija: int
class Program(TypedDict):
Naziv: str
Opis: str
id: int
class ProgramWithPositon(Program):
Pozicija: int
class Target(TypedDict):
Naziv: str
Opis: str
id: int
class TargetWithPositon(Target):
Pozicija: int
class Discipline(TypedDict):
Naziv: str
Opis: str
id: int
class DisciplineWithPosition(Discipline):
Pozicija: int
class Napomena(TypedDict):
Tekst: str
Datum: str
id: int
id_strijelac: int
class Result(TypedDict):
Ime: str
Prezime: str
Disciplina: str
Program: str
Meta: str
P: float
R10: float
R20: float
R30: float
R40: float
R50: float
R60: float
Ineri: int
Datum: str
Rezultat: float
Natjecanje: str
Napomena: str
id: int
class ResultInput(TypedDict):
idStrijelac: int
Datum: str
Disciplina: int
Program: int
Meta: int
idNatjecanja: int
P: int
R10: float
R20: float
R30: float
R40: float
R50: float
R60: float
Rezultat: float
Ineri: int
Napomena: str
class ShooterWithNPINExpireDate(ShooterBasicInfo):
DatumIstekaOI: str
class ShooterWithDoctorExpireDate(ShooterBasicInfo):
DatumIstekaLijecnickog: str
class OtherReminder(TypedDict):
id: int
Naslov: str
Tekst: str
Datum: str
Procitana: int
class Weapon(TypedDict):
id: int
serial_no: str
manufacturer: str
model: str
class WeaponHandle(TypedDict):
hand: str
size: str
class WeaponBarrel(TypedDict):
length: int
caliber: float
material: str
class WeaponTypeKind(TypedDict):
type: str
kind: str
class WeaponTrigger(TypedDict):
max_mass: int
min_mass: int
class WeaponDimensions(TypedDict):
length: int
width: int
height: int
class WeaponService(TypedDict):
id: int
weapon_id: int
note: str
date: str
class WeaponDetails(Weapon):
kind: str
type: str
length: int
height: int
width: int
caliber: float
material: str
trigger_mass_from: int
trigger_mass_to: int
barrel_length: int
handle_hand: str
handle_size: str
note: str
shooter_id: int
class AirCylinder(TypedDict):
id: int
serial_no: str
manufacturer: str
length: int
capacity: int
mass: int
max_pressure: int
diameter: int
date_expire: str
weapon_id: int
class Notification(TypedDict):
id: int
title: str
text: str
date: str
bg: str
fg: str
type: str