id |
uuid |
2147483647 |
|
|
uuid_generate_v1() |
|
|
te_id |
int8 |
19 |
√ |
|
new_te() |
|
|
identifier |
serial |
10 |
|
√ |
nextval('work_order_identifier_seq'::regclass) |
|
|
status |
work_order_status |
2147483647 |
|
|
|
|
|
description |
text |
2147483647 |
√ |
|
null |
|
|
estimated_hours |
numeric |
10,2 |
√ |
|
null |
|
|
estimated_cost |
numeric |
20,2 |
√ |
|
null |
|
|
estimated_start |
timestamp |
29,6 |
√ |
|
null |
|
|
estimated_finish |
timestamp |
29,6 |
√ |
|
null |
|
|
open_date |
timestamp |
29,6 |
√ |
|
null |
|
|
approve_date |
timestamp |
29,6 |
√ |
|
null |
|
|
finish_date |
timestamp |
29,6 |
√ |
|
null |
|
|
is_rejected |
bool |
1 |
|
|
false |
|
|
defect_reported |
text |
2147483647 |
√ |
|
null |
|
|
defect_detected |
text |
2147483647 |
√ |
|
null |
|
|
branch_id |
uuid |
2147483647 |
√ |
|
null |
|
branch.id
|
work_order_branch_id_fkey R |
|
sellable_id |
uuid |
2147483647 |
√ |
|
null |
|
sellable.id
|
work_order_sellable_id_fkey R |
|
quote_responsible_id |
uuid |
2147483647 |
√ |
|
null |
|
employee.id
|
work_order_quote_responsible_id_fkey R |
|
execution_responsible_id |
uuid |
2147483647 |
√ |
|
null |
|
employee.id
|
work_order_execution_responsible_id_fkey R |
|
category_id |
uuid |
2147483647 |
√ |
|
null |
|
|
client_id |
uuid |
2147483647 |
√ |
|
null |
|
client.id
|
work_order_client_id_fkey R |
|
sale_id |
uuid |
2147483647 |
√ |
|
null |
|
sale.id
|
work_order_sale_id_fkey R |
|
current_branch_id |
uuid |
2147483647 |
√ |
|
null |
|
branch.id
|
work_order_current_branch_id_fkey R |
|
execution_branch_id |
uuid |
2147483647 |
√ |
|
null |
|
branch.id
|
work_order_execution_branch_id_fkey R |
|
quantity |
int4 |
10 |
√ |
|
1 |
|
|
supplier_order |
text |
2147483647 |
√ |
|
null |
|
|