forked from rats4final/auditoria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraft.yaml
45 lines (40 loc) · 1007 Bytes
/
draft.yaml
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
models:
#probablemente este coso no este actualizado a lv10 pero sirve en su mayoria
# no tamar en cuenta este draft del modelo user, los demas si sirven
User:
name: string
email: string unique
password: string
last_name: string
birth_date: date
image: string
cellphone: string
remember_token: remembertoken
email_verified_at: timestamp
relationships:
belongsToMany: Service
Service:
name: string unique
description: string nullable
service_type_id: id
price: integer
code: string
relationships:
belongsToMany: User, Invoice
ServiceType:
name: string
description: string nullable
relationships:
hasMany: Service
Invoice:
issue_date: datetime
user: string
total: integer
client: string
deadline: date
client_id_card: string
authorization_code: string
control_code: string
relationships:
belongsToMany: Service
seeders: Invoice, ServiceType, Service, User