deal
# | Имя | Тип | Null | Описание |
---|---|---|---|---|
1 | id | bigint(20) | UNSIGNED | |
2 | created_at | timestamp | NULL | |
3 | updated_at | timestamp | NULL | |
4 | type | bigint(20) | DEFAULT | |
5 | status_id | bigint(20) | DEFAULT | |
6 | client_id | bigint(20) | NOT NULL, | |
7 | date_closed | datetime | DEFAULT | |
8 | closed_by_id | bigint(20) | DEFAULT | |
9 | comments | varchar(255) | COLLATE | |
10 | assigned_by_id | bigint(20) | DEFAULT | |
11 | created_by_id | bigint(20) | DEFAULT | |
12 | modify_by_id | bigint(20) | DEFAULT | |
13 | lead_id | bigint(20) | NOT NULL, | |
14 | additional_info | varchar(255) | COLLATE | |
15 | history_changes | longtext | COLLATE | |
16 | house_id | bigint(20) | NOT NULL, | |
17 | item_id | bigint(20) | NOT NULL, | |
18 | price | bigint(20) | DEFAULT | |
19 | opportunity | bigint(20) | DEFAULT | |
20 | stock_id | bigint(20) | DEFAULT | |
21 | developer_id | bigint(20) | NOT NULL, | |
22 | assigned_by_developer_id | bigint(20) | DEFAULT | |
23 | deadline | date | DEFAULT | |
24 | developer_send | bigint(20) | DEFAULT | |
25 | developer_accepted | tinyint(4) | NOT NULL | |
26 | close | tinyint(4) | NOT NULL | |
27 | deleted_at | timestamp | NULL | |
28 | contract_department_send | tinyint(4) | NOT NULL | |
29 | contract_department_accepted | tinyint(4) | NOT NULL |