Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sai Srinivas
GEN_ERP_2025
Commits
7210793a
Commit
7210793a
authored
Sep 17, 2025
by
Sai Srinivas
Browse files
17-09
parent
185e0896
Changes
285
Show whitespace changes
Inline
Side-by-side
lib/Models/commonModels/commonAccountdetailsResponse.dart
View file @
7210793a
...
@@ -5,24 +5,27 @@ class commonAccountdetailsResponse {
...
@@ -5,24 +5,27 @@ class commonAccountdetailsResponse {
String
?
error
;
String
?
error
;
String
?
message
;
String
?
message
;
commonAccountdetailsResponse
(
commonAccountdetailsResponse
(
{
{
this
.
accountDetails
,
this
.
accountDetails
,
this
.
balanceDetails
,
this
.
balanceDetails
,
this
.
ledgerList
,
this
.
ledgerList
,
this
.
error
,
this
.
error
,
this
.
message
});
this
.
message
,
});
commonAccountdetailsResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
commonAccountdetailsResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
accountDetails
=
json
[
'account_details'
]
!=
null
accountDetails
=
?
new
AccountDetails
.
fromJson
(
json
[
'account_details'
])
json
[
'account_details'
]
!=
null
?
AccountDetails
.
fromJson
(
json
[
'account_details'
])
:
null
;
:
null
;
balanceDetails
=
json
[
'balance_details'
]
!=
null
balanceDetails
=
?
new
BalanceDetails
.
fromJson
(
json
[
'balance_details'
])
json
[
'balance_details'
]
!=
null
?
BalanceDetails
.
fromJson
(
json
[
'balance_details'
])
:
null
;
:
null
;
if
(
json
[
'ledger_list'
]
!=
null
)
{
if
(
json
[
'ledger_list'
]
!=
null
)
{
ledgerList
=
<
LedgerList
>[];
ledgerList
=
<
LedgerList
>[];
json
[
'ledger_list'
].
forEach
((
v
)
{
json
[
'ledger_list'
].
forEach
((
v
)
{
ledgerList
!.
add
(
new
LedgerList
.
fromJson
(
v
));
ledgerList
!.
add
(
LedgerList
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -30,18 +33,18 @@ class commonAccountdetailsResponse {
...
@@ -30,18 +33,18 @@ class commonAccountdetailsResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
accountDetails
!=
null
)
{
if
(
accountDetails
!=
null
)
{
data
[
'account_details'
]
=
this
.
accountDetails
!.
toJson
();
data
[
'account_details'
]
=
accountDetails
!.
toJson
();
}
}
if
(
this
.
balanceDetails
!=
null
)
{
if
(
balanceDetails
!=
null
)
{
data
[
'balance_details'
]
=
this
.
balanceDetails
!.
toJson
();
data
[
'balance_details'
]
=
balanceDetails
!.
toJson
();
}
}
if
(
this
.
ledgerList
!=
null
)
{
if
(
ledgerList
!=
null
)
{
data
[
'ledger_list'
]
=
this
.
ledgerList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'ledger_list'
]
=
ledgerList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -63,8 +66,8 @@ class AccountDetails {
...
@@ -63,8 +66,8 @@ class AccountDetails {
String
?
district
;
String
?
district
;
String
?
subLocality
;
String
?
subLocality
;
AccountDetails
(
AccountDetails
(
{
{
this
.
id
,
this
.
id
,
this
.
type
,
this
.
type
,
this
.
refId
,
this
.
refId
,
this
.
name
,
this
.
name
,
...
@@ -78,7 +81,8 @@ class AccountDetails {
...
@@ -78,7 +81,8 @@ class AccountDetails {
this
.
bankUpiId
,
this
.
bankUpiId
,
this
.
state
,
this
.
state
,
this
.
district
,
this
.
district
,
this
.
subLocality
});
this
.
subLocality
,
});
AccountDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
AccountDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -99,22 +103,22 @@ class AccountDetails {
...
@@ -99,22 +103,22 @@ class AccountDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>();
final
Map
<
String
,
dynamic
>
data
=
Map
<
String
,
dynamic
>();
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'ref_id'
]
=
this
.
refId
;
data
[
'ref_id'
]
=
refId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'bank_name'
]
=
this
.
bankName
;
data
[
'bank_name'
]
=
bankName
;
data
[
'bank_branch_name'
]
=
this
.
bankBranchName
;
data
[
'bank_branch_name'
]
=
bankBranchName
;
data
[
'bank_ifsc_code'
]
=
this
.
bankIfscCode
;
data
[
'bank_ifsc_code'
]
=
bankIfscCode
;
data
[
'bank_account_holder_name'
]
=
this
.
bankAccountHolderName
;
data
[
'bank_account_holder_name'
]
=
bankAccountHolderName
;
data
[
'bank_account_number'
]
=
this
.
bankAccountNumber
;
data
[
'bank_account_number'
]
=
bankAccountNumber
;
data
[
'bank_upi_id'
]
=
this
.
bankUpiId
;
data
[
'bank_upi_id'
]
=
bankUpiId
;
data
[
'state'
]
=
this
.
state
;
data
[
'state'
]
=
state
;
data
[
'district'
]
=
this
.
district
;
data
[
'district'
]
=
district
;
data
[
'sub_locality'
]
=
this
.
subLocality
;
data
[
'sub_locality'
]
=
subLocality
;
return
data
;
return
data
;
}
}
}
}
...
@@ -133,10 +137,10 @@ class BalanceDetails {
...
@@ -133,10 +137,10 @@ class BalanceDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>();
final
Map
<
String
,
dynamic
>
data
=
Map
<
String
,
dynamic
>();
data
[
'total_debit'
]
=
this
.
totalDebit
;
data
[
'total_debit'
]
=
totalDebit
;
data
[
'total_credit'
]
=
this
.
totalCredit
;
data
[
'total_credit'
]
=
totalCredit
;
data
[
'balance'
]
=
this
.
balance
;
data
[
'balance'
]
=
balance
;
return
data
;
return
data
;
}
}
}
}
...
@@ -153,8 +157,8 @@ class LedgerList {
...
@@ -153,8 +157,8 @@ class LedgerList {
String
?
date
;
String
?
date
;
String
?
createdDatetime
;
String
?
createdDatetime
;
LedgerList
(
LedgerList
(
{
{
this
.
id
,
this
.
id
,
this
.
accountId
,
this
.
accountId
,
this
.
refType
,
this
.
refType
,
this
.
refId
,
this
.
refId
,
...
@@ -163,7 +167,8 @@ class LedgerList {
...
@@ -163,7 +167,8 @@ class LedgerList {
this
.
creditAmount
,
this
.
creditAmount
,
this
.
debitAmount
,
this
.
debitAmount
,
this
.
date
,
this
.
date
,
this
.
createdDatetime
});
this
.
createdDatetime
,
});
LedgerList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LedgerList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -179,17 +184,17 @@ class LedgerList {
...
@@ -179,17 +184,17 @@ class LedgerList {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'account_id'
]
=
this
.
accountId
;
data
[
'account_id'
]
=
accountId
;
data
[
'ref_type'
]
=
this
.
refType
;
data
[
'ref_type'
]
=
refType
;
data
[
'ref_id'
]
=
this
.
refId
;
data
[
'ref_id'
]
=
refId
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'description'
]
=
this
.
description
;
data
[
'description'
]
=
description
;
data
[
'credit_amount'
]
=
this
.
creditAmount
;
data
[
'credit_amount'
]
=
creditAmount
;
data
[
'debit_amount'
]
=
this
.
debitAmount
;
data
[
'debit_amount'
]
=
debitAmount
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/commonModels/commonAccountlistResponse.dart
View file @
7210793a
...
@@ -9,7 +9,7 @@ class commonAccountlistResponse {
...
@@ -9,7 +9,7 @@ class commonAccountlistResponse {
if
(
json
[
'account_list'
]
!=
null
)
{
if
(
json
[
'account_list'
]
!=
null
)
{
accountList
=
<
AccountList
>[];
accountList
=
<
AccountList
>[];
json
[
'account_list'
].
forEach
((
v
)
{
json
[
'account_list'
].
forEach
((
v
)
{
accountList
!.
add
(
new
AccountList
.
fromJson
(
v
));
accountList
!.
add
(
AccountList
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -17,12 +17,12 @@ class commonAccountlistResponse {
...
@@ -17,12 +17,12 @@ class commonAccountlistResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
accountList
!=
null
)
{
if
(
accountList
!=
null
)
{
data
[
'account_list'
]
=
this
.
accountList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'account_list'
]
=
accountList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -53,8 +53,8 @@ class AccountList {
...
@@ -53,8 +53,8 @@ class AccountList {
String
?
email
;
String
?
email
;
String
?
contactName
;
String
?
contactName
;
AccountList
(
AccountList
(
{
{
this
.
id
,
this
.
id
,
this
.
isPaymentAccount
,
this
.
isPaymentAccount
,
this
.
createdEmployeeId
,
this
.
createdEmployeeId
,
this
.
type
,
this
.
type
,
...
@@ -77,7 +77,8 @@ class AccountList {
...
@@ -77,7 +77,8 @@ class AccountList {
this
.
updatedDatetime
,
this
.
updatedDatetime
,
this
.
mob1
,
this
.
mob1
,
this
.
email
,
this
.
email
,
this
.
contactName
});
this
.
contactName
,
});
AccountList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
AccountList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -107,31 +108,31 @@ class AccountList {
...
@@ -107,31 +108,31 @@ class AccountList {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'is_payment_account'
]
=
this
.
isPaymentAccount
;
data
[
'is_payment_account'
]
=
isPaymentAccount
;
data
[
'created_employee_id'
]
=
this
.
createdEmployeeId
;
data
[
'created_employee_id'
]
=
createdEmployeeId
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'ref_id'
]
=
this
.
refId
;
data
[
'ref_id'
]
=
refId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'sub_locality'
]
=
this
.
subLocality
;
data
[
'sub_locality'
]
=
subLocality
;
data
[
'district'
]
=
this
.
district
;
data
[
'district'
]
=
district
;
data
[
'state'
]
=
this
.
state
;
data
[
'state'
]
=
state
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'datetime'
]
=
this
.
datetime
;
data
[
'datetime'
]
=
datetime
;
data
[
'emp_id'
]
=
this
.
empId
;
data
[
'emp_id'
]
=
empId
;
data
[
'bank_name'
]
=
this
.
bankName
;
data
[
'bank_name'
]
=
bankName
;
data
[
'bank_branch_name'
]
=
this
.
bankBranchName
;
data
[
'bank_branch_name'
]
=
bankBranchName
;
data
[
'bank_ifsc_code'
]
=
this
.
bankIfscCode
;
data
[
'bank_ifsc_code'
]
=
bankIfscCode
;
data
[
'bank_account_holder_name'
]
=
this
.
bankAccountHolderName
;
data
[
'bank_account_holder_name'
]
=
bankAccountHolderName
;
data
[
'bank_account_number'
]
=
this
.
bankAccountNumber
;
data
[
'bank_account_number'
]
=
bankAccountNumber
;
data
[
'bank_upi_id'
]
=
this
.
bankUpiId
;
data
[
'bank_upi_id'
]
=
bankUpiId
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'contact_name'
]
=
this
.
contactName
;
data
[
'contact_name'
]
=
contactName
;
return
data
;
return
data
;
}
}
}
}
lib/Models/commonModels/commonAddAccountsSubmitResponse.dart
View file @
7210793a
...
@@ -3,25 +3,19 @@ class commonAddAccountsSubmitResponse {
...
@@ -3,25 +3,19 @@ class commonAddAccountsSubmitResponse {
String
?
message
;
String
?
message
;
String
?
id
;
String
?
id
;
commonAddAccountsSubmitResponse
({
commonAddAccountsSubmitResponse
({
this
.
error
,
this
.
message
,
this
.
id
});
this
.
error
,
this
.
message
,
this
.
id
,
});
commonAddAccountsSubmitResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
commonAddAccountsSubmitResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
error
=
json
[
'error'
];
error
=
json
[
'error'
];
message
=
json
[
'message'
];
message
=
json
[
'message'
];
id
=
json
[
'id'
];
id
=
json
[
'id'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
return
data
;
return
data
;
}
}
}
}
lib/Models/commonModels/commonAddAccountsViewResponse.dart
View file @
7210793a
...
@@ -16,12 +16,11 @@ class commonAddAccountsViewResponse {
...
@@ -16,12 +16,11 @@ class commonAddAccountsViewResponse {
if
(
json
[
'states'
]
!=
null
)
{
if
(
json
[
'states'
]
!=
null
)
{
states
=
<
States
>[];
states
=
<
States
>[];
json
[
'states'
].
forEach
((
v
)
{
json
[
'states'
].
forEach
((
v
)
{
states
!.
add
(
new
States
.
fromJson
(
v
));
states
!.
add
(
States
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'account_types'
]!=
null
){
if
(
json
[
'account_types'
]
!=
null
)
{
accountTypes
=
json
[
'account_types'
].
cast
<
String
>();
accountTypes
=
json
[
'account_types'
].
cast
<
String
>();
}
}
...
@@ -30,17 +29,16 @@ class commonAddAccountsViewResponse {
...
@@ -30,17 +29,16 @@ class commonAddAccountsViewResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
states
!=
null
)
{
if
(
states
!=
null
)
{
data
[
'states'
]
=
this
.
states
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'states'
]
=
states
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
accountTypes
!=
null
){
if
(
accountTypes
!=
null
)
{
data
[
'account_types'
]
=
accountTypes
;
data
[
'account_types'
]
=
this
.
accountTypes
;
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -57,9 +55,9 @@ class States {
...
@@ -57,9 +55,9 @@ class States {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/AccessiblePagesResponse.dart
View file @
7210793a
...
@@ -10,20 +10,20 @@ class AccessiblePagesResponse {
...
@@ -10,20 +10,20 @@ class AccessiblePagesResponse {
if
(
json
[
'pages_accessible'
]
!=
null
)
{
if
(
json
[
'pages_accessible'
]
!=
null
)
{
pagesAccessible
=
<
PagesAccessible
>[];
pagesAccessible
=
<
PagesAccessible
>[];
json
[
'pages_accessible'
].
forEach
((
v
)
{
json
[
'pages_accessible'
].
forEach
((
v
)
{
pagesAccessible
!.
add
(
new
PagesAccessible
.
fromJson
(
v
));
pagesAccessible
!.
add
(
PagesAccessible
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
pagesAccessible
!=
null
)
{
if
(
pagesAccessible
!=
null
)
{
data
[
'pages_accessible'
]
=
data
[
'pages_accessible'
]
=
this
.
pagesAccessible
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
pagesAccessible
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -42,10 +42,10 @@ class PagesAccessible {
...
@@ -42,10 +42,10 @@ class PagesAccessible {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'page_name'
]
=
this
.
pageName
;
data
[
'page_name'
]
=
pageName
;
data
[
'mode'
]
=
this
.
mode
;
data
[
'mode'
]
=
mode
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/GetDistrictOnStateResponse.dart
View file @
7210793a
...
@@ -10,19 +10,19 @@ class GetDistrictOnStateResponse {
...
@@ -10,19 +10,19 @@ class GetDistrictOnStateResponse {
if
(
json
[
'districts'
]
!=
null
)
{
if
(
json
[
'districts'
]
!=
null
)
{
districts
=
<
Districts
>[];
districts
=
<
Districts
>[];
json
[
'districts'
].
forEach
((
v
)
{
json
[
'districts'
].
forEach
((
v
)
{
districts
!.
add
(
new
Districts
.
fromJson
(
v
));
districts
!.
add
(
Districts
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
districts
!=
null
)
{
if
(
districts
!=
null
)
{
data
[
'districts'
]
=
this
.
districts
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'districts'
]
=
districts
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -36,14 +36,15 @@ class Districts {
...
@@ -36,14 +36,15 @@ class Districts {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
Districts
(
Districts
(
{
{
this
.
id
,
this
.
id
,
this
.
state
,
this
.
state
,
this
.
district
,
this
.
district
,
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
Districts
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
Districts
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -56,14 +57,14 @@ class Districts {
...
@@ -56,14 +57,14 @@ class Districts {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'state'
]
=
this
.
state
;
data
[
'state'
]
=
state
;
data
[
'district'
]
=
this
.
district
;
data
[
'district'
]
=
district
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/GetSegmentOnTeamResponse.dart
View file @
7210793a
...
@@ -10,19 +10,19 @@ class GetSegmentOnTeamResponse {
...
@@ -10,19 +10,19 @@ class GetSegmentOnTeamResponse {
if
(
json
[
'segments'
]
!=
null
)
{
if
(
json
[
'segments'
]
!=
null
)
{
segments
=
<
Segments
>[];
segments
=
<
Segments
>[];
json
[
'segments'
].
forEach
((
v
)
{
json
[
'segments'
].
forEach
((
v
)
{
segments
!.
add
(
new
Segments
.
fromJson
(
v
));
segments
!.
add
(
Segments
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
segments
!=
null
)
{
if
(
segments
!=
null
)
{
data
[
'segments'
]
=
this
.
segments
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'segments'
]
=
segments
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -36,14 +36,15 @@ class Segments {
...
@@ -36,14 +36,15 @@ class Segments {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
Segments
(
Segments
(
{
{
this
.
id
,
this
.
id
,
this
.
teamId
,
this
.
teamId
,
this
.
name
,
this
.
name
,
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
Segments
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
Segments
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -56,14 +57,14 @@ class Segments {
...
@@ -56,14 +57,14 @@ class Segments {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'team_id'
]
=
this
.
teamId
;
data
[
'team_id'
]
=
teamId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/GetSourceOnReferenceResponse.dart
View file @
7210793a
...
@@ -10,19 +10,19 @@ class GetSourceOnReferenceResponse {
...
@@ -10,19 +10,19 @@ class GetSourceOnReferenceResponse {
if
(
json
[
'references'
]
!=
null
)
{
if
(
json
[
'references'
]
!=
null
)
{
references
=
<
References
>[];
references
=
<
References
>[];
json
[
'references'
].
forEach
((
v
)
{
json
[
'references'
].
forEach
((
v
)
{
references
!.
add
(
new
References
.
fromJson
(
v
));
references
!.
add
(
References
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
references
!=
null
)
{
if
(
references
!=
null
)
{
data
[
'references'
]
=
this
.
references
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'references'
]
=
references
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -36,14 +36,15 @@ class References {
...
@@ -36,14 +36,15 @@ class References {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
References
(
References
(
{
{
this
.
id
,
this
.
id
,
this
.
sourceId
,
this
.
sourceId
,
this
.
name
,
this
.
name
,
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
References
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
References
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -56,14 +57,14 @@ class References {
...
@@ -56,14 +57,14 @@ class References {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'source_id'
]
=
this
.
sourceId
;
data
[
'source_id'
]
=
sourceId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/GetSubLocOnDistrictResponse.dart
View file @
7210793a
...
@@ -10,20 +10,19 @@ class GetSubLocOnDistrictResponse {
...
@@ -10,20 +10,19 @@ class GetSubLocOnDistrictResponse {
if
(
json
[
'sub_locations'
]
!=
null
)
{
if
(
json
[
'sub_locations'
]
!=
null
)
{
subLocations
=
<
SubLocations
>[];
subLocations
=
<
SubLocations
>[];
json
[
'sub_locations'
].
forEach
((
v
)
{
json
[
'sub_locations'
].
forEach
((
v
)
{
subLocations
!.
add
(
new
SubLocations
.
fromJson
(
v
));
subLocations
!.
add
(
SubLocations
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>();
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>{};
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
subLocations
!=
null
)
{
if
(
subLocations
!=
null
)
{
data
[
'sub_locations'
]
=
data
[
'sub_locations'
]
=
subLocations
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
this
.
subLocations
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -37,14 +36,15 @@ class SubLocations {
...
@@ -37,14 +36,15 @@ class SubLocations {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
SubLocations
(
SubLocations
(
{
{
this
.
id
,
this
.
id
,
this
.
districtId
,
this
.
districtId
,
this
.
subLocality
,
this
.
subLocality
,
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
SubLocations
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
SubLocations
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -57,14 +57,14 @@ class SubLocations {
...
@@ -57,14 +57,14 @@ class SubLocations {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'district_id'
]
=
this
.
districtId
;
data
[
'district_id'
]
=
districtId
;
data
[
'sub_locality'
]
=
this
.
subLocality
;
data
[
'sub_locality'
]
=
subLocality
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/LeadDetailsResponse.dart
View file @
7210793a
...
@@ -11,8 +11,8 @@ class LeadDetailsResponse {
...
@@ -11,8 +11,8 @@ class LeadDetailsResponse {
String
?
message
;
String
?
message
;
String
?
showEditAccountButton
;
String
?
showEditAccountButton
;
LeadDetailsResponse
(
LeadDetailsResponse
(
{
{
this
.
error
,
this
.
error
,
this
.
sessionExists
,
this
.
sessionExists
,
this
.
leadDetails
,
this
.
leadDetails
,
this
.
accountDetails
,
this
.
accountDetails
,
...
@@ -28,40 +28,42 @@ class LeadDetailsResponse {
...
@@ -28,40 +28,42 @@ class LeadDetailsResponse {
LeadDetailsResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LeadDetailsResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
error
=
json
[
'error'
];
error
=
json
[
'error'
];
sessionExists
=
json
[
'session_exists'
];
sessionExists
=
json
[
'session_exists'
];
leadDetails
=
json
[
'lead_details'
]
!=
null
leadDetails
=
?
new
LeadDetails
.
fromJson
(
json
[
'lead_details'
])
json
[
'lead_details'
]
!=
null
?
LeadDetails
.
fromJson
(
json
[
'lead_details'
])
:
null
;
:
null
;
accountDetails
=
json
[
'account_details'
]
!=
null
accountDetails
=
?
new
AccountDetails
.
fromJson
(
json
[
'account_details'
])
json
[
'account_details'
]
!=
null
?
AccountDetails
.
fromJson
(
json
[
'account_details'
])
:
null
;
:
null
;
if
(
json
[
'lead_products'
]
!=
null
)
{
if
(
json
[
'lead_products'
]
!=
null
)
{
leadProducts
=
<
LeadProducts
>[];
leadProducts
=
<
LeadProducts
>[];
json
[
'lead_products'
].
forEach
((
v
)
{
json
[
'lead_products'
].
forEach
((
v
)
{
leadProducts
!.
add
(
new
LeadProducts
.
fromJson
(
v
));
leadProducts
!.
add
(
LeadProducts
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'contact_details'
]
!=
null
)
{
if
(
json
[
'contact_details'
]
!=
null
)
{
contactDetails
=
<
ContactDetails
>[];
contactDetails
=
<
ContactDetails
>[];
json
[
'contact_details'
].
forEach
((
v
)
{
json
[
'contact_details'
].
forEach
((
v
)
{
contactDetails
!.
add
(
new
ContactDetails
.
fromJson
(
v
));
contactDetails
!.
add
(
ContactDetails
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'followup_details'
]
!=
null
)
{
if
(
json
[
'followup_details'
]
!=
null
)
{
followupDetails
=
<
FollowupDetails
>[];
followupDetails
=
<
FollowupDetails
>[];
json
[
'followup_details'
].
forEach
((
v
)
{
json
[
'followup_details'
].
forEach
((
v
)
{
followupDetails
!.
add
(
new
FollowupDetails
.
fromJson
(
v
));
followupDetails
!.
add
(
FollowupDetails
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'appointment_details'
]
!=
null
)
{
if
(
json
[
'appointment_details'
]
!=
null
)
{
appointmentDetails
=
<
AppointmentDetails
>[];
appointmentDetails
=
<
AppointmentDetails
>[];
json
[
'appointment_details'
].
forEach
((
v
)
{
json
[
'appointment_details'
].
forEach
((
v
)
{
appointmentDetails
!.
add
(
new
AppointmentDetails
.
fromJson
(
v
));
appointmentDetails
!.
add
(
AppointmentDetails
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'quotations_details'
]
!=
null
)
{
if
(
json
[
'quotations_details'
]
!=
null
)
{
quotationsDetails
=
<
QuotationsDetails
>[];
quotationsDetails
=
<
QuotationsDetails
>[];
json
[
'quotations_details'
].
forEach
((
v
)
{
json
[
'quotations_details'
].
forEach
((
v
)
{
quotationsDetails
!.
add
(
new
QuotationsDetails
.
fromJson
(
v
));
quotationsDetails
!.
add
(
QuotationsDetails
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
...
@@ -69,37 +71,35 @@ class LeadDetailsResponse {
...
@@ -69,37 +71,35 @@ class LeadDetailsResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'session_exists'
]
=
this
.
sessionExists
;
data
[
'session_exists'
]
=
sessionExists
;
if
(
this
.
leadDetails
!=
null
)
{
if
(
leadDetails
!=
null
)
{
data
[
'lead_details'
]
=
this
.
leadDetails
!.
toJson
();
data
[
'lead_details'
]
=
leadDetails
!.
toJson
();
}
}
if
(
this
.
accountDetails
!=
null
)
{
if
(
accountDetails
!=
null
)
{
data
[
'account_details'
]
=
this
.
accountDetails
!.
toJson
();
data
[
'account_details'
]
=
accountDetails
!.
toJson
();
}
}
if
(
this
.
leadProducts
!=
null
)
{
if
(
leadProducts
!=
null
)
{
data
[
'lead_products'
]
=
data
[
'lead_products'
]
=
leadProducts
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
this
.
leadProducts
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
contactDetails
!=
null
)
{
if
(
contactDetails
!=
null
)
{
data
[
'contact_details'
]
=
data
[
'contact_details'
]
=
contactDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
this
.
contactDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
followupDetails
!=
null
)
{
if
(
followupDetails
!=
null
)
{
data
[
'followup_details'
]
=
data
[
'followup_details'
]
=
this
.
followupDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
followupDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
appointmentDetails
!=
null
)
{
if
(
appointmentDetails
!=
null
)
{
data
[
'appointment_details'
]
=
data
[
'appointment_details'
]
=
this
.
appointmentDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
appointmentDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
quotationsDetails
!=
null
)
{
if
(
quotationsDetails
!=
null
)
{
data
[
'quotations_details'
]
=
data
[
'quotations_details'
]
=
this
.
quotationsDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
quotationsDetails
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
data
[
'show_edit_account_button'
]
=
this
.
showEditAccountButton
;
data
[
'show_edit_account_button'
]
=
showEditAccountButton
;
return
data
;
return
data
;
}
}
}
}
...
@@ -131,8 +131,8 @@ class LeadDetails {
...
@@ -131,8 +131,8 @@ class LeadDetails {
String
?
lage
;
String
?
lage
;
String
?
copyMessage
;
String
?
copyMessage
;
LeadDetails
(
LeadDetails
(
{
{
this
.
id
,
this
.
id
,
this
.
ownerId
,
this
.
ownerId
,
this
.
accId
,
this
.
accId
,
this
.
accManagerId
,
this
.
accManagerId
,
...
@@ -156,7 +156,8 @@ class LeadDetails {
...
@@ -156,7 +156,8 @@ class LeadDetails {
this
.
email
,
this
.
email
,
this
.
prod
,
this
.
prod
,
this
.
lage
,
this
.
lage
,
this
.
copyMessage
});
this
.
copyMessage
,
});
LeadDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LeadDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -187,32 +188,32 @@ class LeadDetails {
...
@@ -187,32 +188,32 @@ class LeadDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'owner_id'
]
=
this
.
ownerId
;
data
[
'owner_id'
]
=
ownerId
;
data
[
'acc_id'
]
=
this
.
accId
;
data
[
'acc_id'
]
=
accId
;
data
[
'acc_manager_id'
]
=
this
.
accManagerId
;
data
[
'acc_manager_id'
]
=
accManagerId
;
data
[
'status'
]
=
this
.
status
;
data
[
'status'
]
=
status
;
data
[
'open_status'
]
=
this
.
openStatus
;
data
[
'open_status'
]
=
openStatus
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'close_date'
]
=
this
.
closeDate
;
data
[
'close_date'
]
=
closeDate
;
data
[
'closereason'
]
=
this
.
closereason
;
data
[
'closereason'
]
=
closereason
;
data
[
'competitor'
]
=
this
.
competitor
;
data
[
'competitor'
]
=
competitor
;
data
[
'order_gain_id'
]
=
this
.
orderGainId
;
data
[
'order_gain_id'
]
=
orderGainId
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
data
[
'followup_function'
]
=
this
.
followupFunction
;
data
[
'followup_function'
]
=
followupFunction
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'cont_name'
]
=
this
.
contName
;
data
[
'cont_name'
]
=
contName
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'mob2'
]
=
this
.
mob2
;
data
[
'mob2'
]
=
mob2
;
data
[
'tel'
]
=
this
.
tel
;
data
[
'tel'
]
=
tel
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'prod'
]
=
this
.
prod
;
data
[
'prod'
]
=
prod
;
data
[
'lage'
]
=
this
.
lage
;
data
[
'lage'
]
=
lage
;
data
[
'copy_message'
]
=
this
.
copyMessage
;
data
[
'copy_message'
]
=
copyMessage
;
return
data
;
return
data
;
}
}
}
}
...
@@ -243,8 +244,8 @@ class AccountDetails {
...
@@ -243,8 +244,8 @@ class AccountDetails {
String
?
accManager
;
String
?
accManager
;
String
?
owner
;
String
?
owner
;
AccountDetails
(
AccountDetails
(
{
{
this
.
id
,
this
.
id
,
this
.
tempId
,
this
.
tempId
,
this
.
ownerId
,
this
.
ownerId
,
this
.
accManagerId
,
this
.
accManagerId
,
...
@@ -267,7 +268,8 @@ class AccountDetails {
...
@@ -267,7 +268,8 @@ class AccountDetails {
this
.
email
,
this
.
email
,
this
.
mob1
,
this
.
mob1
,
this
.
accManager
,
this
.
accManager
,
this
.
owner
});
this
.
owner
,
});
AccountDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
AccountDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -297,31 +299,31 @@ class AccountDetails {
...
@@ -297,31 +299,31 @@ class AccountDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'temp_id'
]
=
this
.
tempId
;
data
[
'temp_id'
]
=
tempId
;
data
[
'owner_id'
]
=
this
.
ownerId
;
data
[
'owner_id'
]
=
ownerId
;
data
[
'acc_manager_id'
]
=
this
.
accManagerId
;
data
[
'acc_manager_id'
]
=
accManagerId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'salutation_name'
]
=
this
.
salutationName
;
data
[
'salutation_name'
]
=
salutationName
;
data
[
'sub_locality'
]
=
this
.
subLocality
;
data
[
'sub_locality'
]
=
subLocality
;
data
[
'district'
]
=
this
.
district
;
data
[
'district'
]
=
district
;
data
[
'state'
]
=
this
.
state
;
data
[
'state'
]
=
state
;
data
[
'pincode'
]
=
this
.
pincode
;
data
[
'pincode'
]
=
pincode
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'source'
]
=
this
.
source
;
data
[
'source'
]
=
source
;
data
[
'reference'
]
=
this
.
reference
;
data
[
'reference'
]
=
reference
;
data
[
'segment'
]
=
this
.
segment
;
data
[
'segment'
]
=
segment
;
data
[
'team'
]
=
this
.
team
;
data
[
'team'
]
=
team
;
data
[
'gst_number'
]
=
this
.
gstNumber
;
data
[
'gst_number'
]
=
gstNumber
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'acc_manager'
]
=
this
.
accManager
;
data
[
'acc_manager'
]
=
accManager
;
data
[
'owner'
]
=
this
.
owner
;
data
[
'owner'
]
=
owner
;
return
data
;
return
data
;
}
}
}
}
...
@@ -340,8 +342,8 @@ class LeadProducts {
...
@@ -340,8 +342,8 @@ class LeadProducts {
String
?
updatedDatetime
;
String
?
updatedDatetime
;
String
?
productName
;
String
?
productName
;
LeadProducts
(
LeadProducts
(
{
{
this
.
id
,
this
.
id
,
this
.
leadId
,
this
.
leadId
,
this
.
productId
,
this
.
productId
,
this
.
qty
,
this
.
qty
,
...
@@ -352,7 +354,8 @@ class LeadProducts {
...
@@ -352,7 +354,8 @@ class LeadProducts {
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
,
this
.
updatedDatetime
,
this
.
productName
});
this
.
productName
,
});
LeadProducts
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LeadProducts
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -370,19 +373,19 @@ class LeadProducts {
...
@@ -370,19 +373,19 @@ class LeadProducts {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'lead_id'
]
=
this
.
leadId
;
data
[
'lead_id'
]
=
leadId
;
data
[
'product_id'
]
=
this
.
productId
;
data
[
'product_id'
]
=
productId
;
data
[
'qty'
]
=
this
.
qty
;
data
[
'qty'
]
=
qty
;
data
[
'price'
]
=
this
.
price
;
data
[
'price'
]
=
price
;
data
[
'prod_total_price'
]
=
this
.
prodTotalPrice
;
data
[
'prod_total_price'
]
=
prodTotalPrice
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_del'
]
=
this
.
isDel
;
data
[
'is_del'
]
=
isDel
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
data
[
'product_name'
]
=
this
.
productName
;
data
[
'product_name'
]
=
productName
;
return
data
;
return
data
;
}
}
}
}
...
@@ -403,8 +406,8 @@ class ContactDetails {
...
@@ -403,8 +406,8 @@ class ContactDetails {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
ContactDetails
(
ContactDetails
(
{
{
this
.
id
,
this
.
id
,
this
.
accId
,
this
.
accId
,
this
.
name
,
this
.
name
,
this
.
salutationName
,
this
.
salutationName
,
...
@@ -417,7 +420,8 @@ class ContactDetails {
...
@@ -417,7 +420,8 @@ class ContactDetails {
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
ContactDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
ContactDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -437,21 +441,21 @@ class ContactDetails {
...
@@ -437,21 +441,21 @@ class ContactDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'acc_id'
]
=
this
.
accId
;
data
[
'acc_id'
]
=
accId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'salutation_name'
]
=
this
.
salutationName
;
data
[
'salutation_name'
]
=
salutationName
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'mob2'
]
=
this
.
mob2
;
data
[
'mob2'
]
=
mob2
;
data
[
'tel'
]
=
this
.
tel
;
data
[
'tel'
]
=
tel
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'designation'
]
=
this
.
designation
;
data
[
'designation'
]
=
designation
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
...
@@ -465,14 +469,15 @@ class FollowupDetails {
...
@@ -465,14 +469,15 @@ class FollowupDetails {
String
?
fstatus
;
String
?
fstatus
;
String
?
ffeedback
;
String
?
ffeedback
;
FollowupDetails
(
FollowupDetails
(
{
{
this
.
ename
,
this
.
ename
,
this
.
ftype
,
this
.
ftype
,
this
.
fdate
,
this
.
fdate
,
this
.
finTime
,
this
.
finTime
,
this
.
foutTime
,
this
.
foutTime
,
this
.
fstatus
,
this
.
fstatus
,
this
.
ffeedback
});
this
.
ffeedback
,
});
FollowupDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
FollowupDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
ename
=
json
[
'ename'
];
ename
=
json
[
'ename'
];
...
@@ -485,14 +490,14 @@ class FollowupDetails {
...
@@ -485,14 +490,14 @@ class FollowupDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'ename'
]
=
this
.
ename
;
data
[
'ename'
]
=
ename
;
data
[
'ftype'
]
=
this
.
ftype
;
data
[
'ftype'
]
=
ftype
;
data
[
'fdate'
]
=
this
.
fdate
;
data
[
'fdate'
]
=
fdate
;
data
[
'fin_time'
]
=
this
.
finTime
;
data
[
'fin_time'
]
=
finTime
;
data
[
'fout_time'
]
=
this
.
foutTime
;
data
[
'fout_time'
]
=
foutTime
;
data
[
'fstatus'
]
=
this
.
fstatus
;
data
[
'fstatus'
]
=
fstatus
;
data
[
'ffeedback'
]
=
this
.
ffeedback
;
data
[
'ffeedback'
]
=
ffeedback
;
return
data
;
return
data
;
}
}
}
}
...
@@ -505,13 +510,14 @@ class AppointmentDetails {
...
@@ -505,13 +510,14 @@ class AppointmentDetails {
String
?
astatus
;
String
?
astatus
;
String
?
adate
;
String
?
adate
;
AppointmentDetails
(
AppointmentDetails
(
{
{
this
.
ename
,
this
.
ename
,
this
.
aappDate
,
this
.
aappDate
,
this
.
atype
,
this
.
atype
,
this
.
anote
,
this
.
anote
,
this
.
astatus
,
this
.
astatus
,
this
.
adate
});
this
.
adate
,
});
AppointmentDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
AppointmentDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
ename
=
json
[
'ename'
];
ename
=
json
[
'ename'
];
...
@@ -523,13 +529,13 @@ class AppointmentDetails {
...
@@ -523,13 +529,13 @@ class AppointmentDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'ename'
]
=
this
.
ename
;
data
[
'ename'
]
=
ename
;
data
[
'aapp_date'
]
=
this
.
aappDate
;
data
[
'aapp_date'
]
=
aappDate
;
data
[
'atype'
]
=
this
.
atype
;
data
[
'atype'
]
=
atype
;
data
[
'anote'
]
=
this
.
anote
;
data
[
'anote'
]
=
anote
;
data
[
'astatus'
]
=
this
.
astatus
;
data
[
'astatus'
]
=
astatus
;
data
[
'adate'
]
=
this
.
adate
;
data
[
'adate'
]
=
adate
;
return
data
;
return
data
;
}
}
}
}
...
@@ -564,8 +570,8 @@ class QuotationsDetails {
...
@@ -564,8 +570,8 @@ class QuotationsDetails {
String
?
updatedDatetime
;
String
?
updatedDatetime
;
String
?
employee
;
String
?
employee
;
QuotationsDetails
(
QuotationsDetails
(
{
{
this
.
id
,
this
.
id
,
this
.
empId
,
this
.
empId
,
this
.
leadId
,
this
.
leadId
,
this
.
email
,
this
.
email
,
...
@@ -592,7 +598,8 @@ class QuotationsDetails {
...
@@ -592,7 +598,8 @@ class QuotationsDetails {
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
,
this
.
updatedDatetime
,
this
.
employee
});
this
.
employee
,
});
QuotationsDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
QuotationsDetails
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -626,35 +633,35 @@ class QuotationsDetails {
...
@@ -626,35 +633,35 @@ class QuotationsDetails {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'emp_id'
]
=
this
.
empId
;
data
[
'emp_id'
]
=
empId
;
data
[
'lead_id'
]
=
this
.
leadId
;
data
[
'lead_id'
]
=
leadId
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'mobile'
]
=
this
.
mobile
;
data
[
'mobile'
]
=
mobile
;
data
[
'quote'
]
=
this
.
quote
;
data
[
'quote'
]
=
quote
;
data
[
'info'
]
=
this
.
info
;
data
[
'info'
]
=
info
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'quote_type'
]
=
this
.
quoteType
;
data
[
'quote_type'
]
=
quoteType
;
data
[
'subject'
]
=
this
.
subject
;
data
[
'subject'
]
=
subject
;
data
[
'taxes'
]
=
this
.
taxes
;
data
[
'taxes'
]
=
taxes
;
data
[
'spcl_note'
]
=
this
.
spclNote
;
data
[
'spcl_note'
]
=
spclNote
;
data
[
'for_txt'
]
=
this
.
forTxt
;
data
[
'for_txt'
]
=
forTxt
;
data
[
'pay_terms'
]
=
this
.
payTerms
;
data
[
'pay_terms'
]
=
payTerms
;
data
[
'price_shead'
]
=
this
.
priceShead
;
data
[
'price_shead'
]
=
priceShead
;
data
[
'extra_charge_narr'
]
=
this
.
extraChargeNarr
;
data
[
'extra_charge_narr'
]
=
extraChargeNarr
;
data
[
'extra_charge_amount'
]
=
this
.
extraChargeAmount
;
data
[
'extra_charge_amount'
]
=
extraChargeAmount
;
data
[
'transport_charge'
]
=
this
.
transportCharge
;
data
[
'transport_charge'
]
=
transportCharge
;
data
[
'load_unload_charge'
]
=
this
.
loadUnloadCharge
;
data
[
'load_unload_charge'
]
=
loadUnloadCharge
;
data
[
'min_duration'
]
=
this
.
minDuration
;
data
[
'min_duration'
]
=
minDuration
;
data
[
'delivery_period'
]
=
this
.
deliveryPeriod
;
data
[
'delivery_period'
]
=
deliveryPeriod
;
data
[
'min_advance'
]
=
this
.
minAdvance
;
data
[
'min_advance'
]
=
minAdvance
;
data
[
'extra_hours_charge'
]
=
this
.
extraHoursCharge
;
data
[
'extra_hours_charge'
]
=
extraHoursCharge
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
data
[
'employee'
]
=
this
.
employee
;
data
[
'employee'
]
=
employee
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/LeadListContactPopUpResponse.dart
View file @
7210793a
...
@@ -10,19 +10,19 @@ class LeadListContactPopUpResponse {
...
@@ -10,19 +10,19 @@ class LeadListContactPopUpResponse {
if
(
json
[
'contacts'
]
!=
null
)
{
if
(
json
[
'contacts'
]
!=
null
)
{
contacts
=
<
Contacts
>[];
contacts
=
<
Contacts
>[];
json
[
'contacts'
].
forEach
((
v
)
{
json
[
'contacts'
].
forEach
((
v
)
{
contacts
!.
add
(
new
Contacts
.
fromJson
(
v
));
contacts
!.
add
(
Contacts
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
contacts
!=
null
)
{
if
(
contacts
!=
null
)
{
data
[
'contacts'
]
=
this
.
contacts
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'contacts'
]
=
contacts
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -43,8 +43,8 @@ class Contacts {
...
@@ -43,8 +43,8 @@ class Contacts {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
Contacts
(
Contacts
(
{
{
this
.
id
,
this
.
id
,
this
.
accId
,
this
.
accId
,
this
.
name
,
this
.
name
,
this
.
salutationName
,
this
.
salutationName
,
...
@@ -57,7 +57,8 @@ class Contacts {
...
@@ -57,7 +57,8 @@ class Contacts {
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
Contacts
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
Contacts
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -77,21 +78,21 @@ class Contacts {
...
@@ -77,21 +78,21 @@ class Contacts {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'acc_id'
]
=
this
.
accId
;
data
[
'acc_id'
]
=
accId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'salutation_name'
]
=
this
.
salutationName
;
data
[
'salutation_name'
]
=
salutationName
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'mob2'
]
=
this
.
mob2
;
data
[
'mob2'
]
=
mob2
;
data
[
'tel'
]
=
this
.
tel
;
data
[
'tel'
]
=
tel
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'designation'
]
=
this
.
designation
;
data
[
'designation'
]
=
designation
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/LeadListViewResponse.dart
View file @
7210793a
...
@@ -6,37 +6,38 @@ class LeadListViewResponse {
...
@@ -6,37 +6,38 @@ class LeadListViewResponse {
String
?
error
;
String
?
error
;
String
?
message
;
String
?
message
;
LeadListViewResponse
(
LeadListViewResponse
(
{
{
this
.
sources
,
this
.
sources
,
this
.
teams
,
this
.
teams
,
this
.
states
,
this
.
states
,
this
.
employees
,
this
.
employees
,
this
.
error
,
this
.
error
,
this
.
message
});
this
.
message
,
});
LeadListViewResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LeadListViewResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
if
(
json
[
'sources'
]
!=
null
)
{
if
(
json
[
'sources'
]
!=
null
)
{
sources
=
<
Sources
>[];
sources
=
<
Sources
>[];
json
[
'sources'
].
forEach
((
v
)
{
json
[
'sources'
].
forEach
((
v
)
{
sources
!.
add
(
new
Sources
.
fromJson
(
v
));
sources
!.
add
(
Sources
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'teams'
]
!=
null
)
{
if
(
json
[
'teams'
]
!=
null
)
{
teams
=
<
Teams
>[];
teams
=
<
Teams
>[];
json
[
'teams'
].
forEach
((
v
)
{
json
[
'teams'
].
forEach
((
v
)
{
teams
!.
add
(
new
Teams
.
fromJson
(
v
));
teams
!.
add
(
Teams
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'states'
]
!=
null
)
{
if
(
json
[
'states'
]
!=
null
)
{
states
=
<
States
>[];
states
=
<
States
>[];
json
[
'states'
].
forEach
((
v
)
{
json
[
'states'
].
forEach
((
v
)
{
states
!.
add
(
new
States
.
fromJson
(
v
));
states
!.
add
(
States
.
fromJson
(
v
));
});
});
}
}
if
(
json
[
'employees'
]
!=
null
)
{
if
(
json
[
'employees'
]
!=
null
)
{
employees
=
<
Employees
>[];
employees
=
<
Employees
>[];
json
[
'employees'
].
forEach
((
v
)
{
json
[
'employees'
].
forEach
((
v
)
{
employees
!.
add
(
new
Employees
.
fromJson
(
v
));
employees
!.
add
(
Employees
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -44,21 +45,21 @@ class LeadListViewResponse {
...
@@ -44,21 +45,21 @@ class LeadListViewResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
sources
!=
null
)
{
if
(
sources
!=
null
)
{
data
[
'sources'
]
=
this
.
sources
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'sources'
]
=
sources
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
teams
!=
null
)
{
if
(
teams
!=
null
)
{
data
[
'teams'
]
=
this
.
teams
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'teams'
]
=
teams
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
states
!=
null
)
{
if
(
states
!=
null
)
{
data
[
'states'
]
=
this
.
states
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'states'
]
=
states
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
if
(
this
.
employees
!=
null
)
{
if
(
employees
!=
null
)
{
data
[
'employees'
]
=
this
.
employees
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'employees'
]
=
employees
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -75,12 +76,13 @@ class Sources {
...
@@ -75,12 +76,13 @@ class Sources {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
return
data
;
return
data
;
}
}
}
}
class
Teams
{
class
Teams
{
String
?
id
;
String
?
id
;
String
?
name
;
String
?
name
;
...
@@ -93,12 +95,13 @@ class Teams {
...
@@ -93,12 +95,13 @@ class Teams {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
return
data
;
return
data
;
}
}
}
}
class
States
{
class
States
{
String
?
id
;
String
?
id
;
String
?
name
;
String
?
name
;
...
@@ -111,12 +114,13 @@ class States {
...
@@ -111,12 +114,13 @@ class States {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
return
data
;
return
data
;
}
}
}
}
class
Employees
{
class
Employees
{
String
?
id
;
String
?
id
;
String
?
name
;
String
?
name
;
...
@@ -129,9 +133,9 @@ class Employees {
...
@@ -129,9 +133,9 @@ class Employees {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/NearbyOpenLeadsResponse.dart
View file @
7210793a
...
@@ -9,7 +9,7 @@ class NearbyOpenLeadsResponse {
...
@@ -9,7 +9,7 @@ class NearbyOpenLeadsResponse {
if
(
json
[
'lead_list'
]
!=
null
)
{
if
(
json
[
'lead_list'
]
!=
null
)
{
leadList
=
<
LeadList
>[];
leadList
=
<
LeadList
>[];
json
[
'lead_list'
].
forEach
((
v
)
{
json
[
'lead_list'
].
forEach
((
v
)
{
leadList
!.
add
(
new
LeadList
.
fromJson
(
v
));
leadList
!.
add
(
LeadList
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -17,12 +17,12 @@ class NearbyOpenLeadsResponse {
...
@@ -17,12 +17,12 @@ class NearbyOpenLeadsResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
leadList
!=
null
)
{
if
(
leadList
!=
null
)
{
data
[
'lead_list'
]
=
this
.
leadList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'lead_list'
]
=
leadList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -53,8 +53,8 @@ class LeadList {
...
@@ -53,8 +53,8 @@ class LeadList {
String
?
email
;
String
?
email
;
String
?
distance
;
String
?
distance
;
LeadList
(
LeadList
(
{
{
this
.
id
,
this
.
id
,
this
.
ownerId
,
this
.
ownerId
,
this
.
accId
,
this
.
accId
,
this
.
accManagerId
,
this
.
accManagerId
,
...
@@ -77,7 +77,8 @@ class LeadList {
...
@@ -77,7 +77,8 @@ class LeadList {
this
.
mob2
,
this
.
mob2
,
this
.
tel
,
this
.
tel
,
this
.
email
,
this
.
email
,
this
.
distance
});
this
.
distance
,
});
LeadList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LeadList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -107,31 +108,31 @@ class LeadList {
...
@@ -107,31 +108,31 @@ class LeadList {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'owner_id'
]
=
this
.
ownerId
;
data
[
'owner_id'
]
=
ownerId
;
data
[
'acc_id'
]
=
this
.
accId
;
data
[
'acc_id'
]
=
accId
;
data
[
'acc_manager_id'
]
=
this
.
accManagerId
;
data
[
'acc_manager_id'
]
=
accManagerId
;
data
[
'status'
]
=
this
.
status
;
data
[
'status'
]
=
status
;
data
[
'open_status'
]
=
this
.
openStatus
;
data
[
'open_status'
]
=
openStatus
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'close_date'
]
=
this
.
closeDate
;
data
[
'close_date'
]
=
closeDate
;
data
[
'closereason'
]
=
this
.
closereason
;
data
[
'closereason'
]
=
closereason
;
data
[
'competitor'
]
=
this
.
competitor
;
data
[
'competitor'
]
=
competitor
;
data
[
'order_gain_id'
]
=
this
.
orderGainId
;
data
[
'order_gain_id'
]
=
orderGainId
;
data
[
'loc'
]
=
this
.
loc
;
data
[
'loc'
]
=
loc
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
data
[
'followup_function'
]
=
this
.
followupFunction
;
data
[
'followup_function'
]
=
followupFunction
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'cont_name'
]
=
this
.
contName
;
data
[
'cont_name'
]
=
contName
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'mob2'
]
=
this
.
mob2
;
data
[
'mob2'
]
=
mob2
;
data
[
'tel'
]
=
this
.
tel
;
data
[
'tel'
]
=
tel
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'distance'
]
=
this
.
distance
;
data
[
'distance'
]
=
distance
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/ProspectListViewResponse.dart
View file @
7210793a
...
@@ -9,7 +9,7 @@ class ProspectListViewResponse {
...
@@ -9,7 +9,7 @@ class ProspectListViewResponse {
if
(
json
[
'employees'
]
!=
null
)
{
if
(
json
[
'employees'
]
!=
null
)
{
employees
=
<
Employees
>[];
employees
=
<
Employees
>[];
json
[
'employees'
].
forEach
((
v
)
{
json
[
'employees'
].
forEach
((
v
)
{
employees
!.
add
(
new
Employees
.
fromJson
(
v
));
employees
!.
add
(
Employees
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -17,12 +17,12 @@ class ProspectListViewResponse {
...
@@ -17,12 +17,12 @@ class ProspectListViewResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
employees
!=
null
)
{
if
(
employees
!=
null
)
{
data
[
'employees'
]
=
this
.
employees
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'employees'
]
=
employees
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -39,9 +39,9 @@ class Employees {
...
@@ -39,9 +39,9 @@ class Employees {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/SubmitLeadListFilterResponse.dart
View file @
7210793a
...
@@ -10,19 +10,19 @@ class SubmitLeadListFilterResponse {
...
@@ -10,19 +10,19 @@ class SubmitLeadListFilterResponse {
if
(
json
[
'lead_list'
]
!=
null
)
{
if
(
json
[
'lead_list'
]
!=
null
)
{
leadList
=
<
LeadList
>[];
leadList
=
<
LeadList
>[];
json
[
'lead_list'
].
forEach
((
v
)
{
json
[
'lead_list'
].
forEach
((
v
)
{
leadList
!.
add
(
new
LeadList
.
fromJson
(
v
));
leadList
!.
add
(
LeadList
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
leadList
!=
null
)
{
if
(
leadList
!=
null
)
{
data
[
'lead_list'
]
=
this
.
leadList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'lead_list'
]
=
leadList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -48,8 +48,8 @@ class LeadList {
...
@@ -48,8 +48,8 @@ class LeadList {
Account
?
account
;
Account
?
account
;
List
<
Contact
>?
contact
;
List
<
Contact
>?
contact
;
LeadList
(
LeadList
(
{
{
this
.
ldate
,
this
.
ldate
,
this
.
stateName
,
this
.
stateName
,
this
.
district
,
this
.
district
,
this
.
subLocality
,
this
.
subLocality
,
...
@@ -67,7 +67,8 @@ class LeadList {
...
@@ -67,7 +67,8 @@ class LeadList {
this
.
product
,
this
.
product
,
this
.
followupfun
,
this
.
followupfun
,
this
.
account
,
this
.
account
,
this
.
contact
});
this
.
contact
,
});
LeadList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
LeadList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
ldate
=
json
[
'ldate'
];
ldate
=
json
[
'ldate'
];
...
@@ -88,39 +89,39 @@ class LeadList {
...
@@ -88,39 +89,39 @@ class LeadList {
product
=
json
[
'product'
];
product
=
json
[
'product'
];
followupfun
=
json
[
'followupfun'
];
followupfun
=
json
[
'followupfun'
];
account
=
account
=
json
[
'account'
]
!=
null
?
new
Account
.
fromJson
(
json
[
'account'
])
:
null
;
json
[
'account'
]
!=
null
?
Account
.
fromJson
(
json
[
'account'
])
:
null
;
if
(
json
[
'contact'
]
!=
null
)
{
if
(
json
[
'contact'
]
!=
null
)
{
contact
=
<
Contact
>[];
contact
=
<
Contact
>[];
json
[
'contact'
].
forEach
((
v
)
{
json
[
'contact'
].
forEach
((
v
)
{
contact
!.
add
(
new
Contact
.
fromJson
(
v
));
contact
!.
add
(
Contact
.
fromJson
(
v
));
});
});
}
}
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'ldate'
]
=
this
.
ldate
;
data
[
'ldate'
]
=
ldate
;
data
[
'state_name'
]
=
this
.
stateName
;
data
[
'state_name'
]
=
stateName
;
data
[
'district'
]
=
this
.
district
;
data
[
'district'
]
=
district
;
data
[
'sub_locality'
]
=
this
.
subLocality
;
data
[
'sub_locality'
]
=
subLocality
;
data
[
'accman'
]
=
this
.
accman
;
data
[
'accman'
]
=
accman
;
data
[
'acc_id'
]
=
this
.
accId
;
data
[
'acc_id'
]
=
accId
;
data
[
'cname'
]
=
this
.
cname
;
data
[
'cname'
]
=
cname
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'leadid'
]
=
this
.
leadid
;
data
[
'leadid'
]
=
leadid
;
data
[
'status'
]
=
this
.
status
;
data
[
'status'
]
=
status
;
data
[
'open_status'
]
=
this
.
openStatus
;
data
[
'open_status'
]
=
openStatus
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'aid'
]
=
this
.
aid
;
data
[
'aid'
]
=
aid
;
data
[
'company'
]
=
this
.
company
;
data
[
'company'
]
=
company
;
data
[
'lage'
]
=
this
.
lage
;
data
[
'lage'
]
=
lage
;
data
[
'product'
]
=
this
.
product
;
data
[
'product'
]
=
product
;
data
[
'followupfun'
]
=
this
.
followupfun
;
data
[
'followupfun'
]
=
followupfun
;
if
(
this
.
account
!=
null
)
{
if
(
account
!=
null
)
{
data
[
'account'
]
=
this
.
account
!.
toJson
();
data
[
'account'
]
=
account
!.
toJson
();
}
}
if
(
this
.
contact
!=
null
)
{
if
(
contact
!=
null
)
{
data
[
'contact'
]
=
this
.
contact
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'contact'
]
=
contact
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
return
data
;
return
data
;
}
}
...
@@ -148,8 +149,8 @@ class Account {
...
@@ -148,8 +149,8 @@ class Account {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
Account
(
Account
(
{
{
this
.
id
,
this
.
id
,
this
.
tempId
,
this
.
tempId
,
this
.
ownerId
,
this
.
ownerId
,
this
.
accManagerId
,
this
.
accManagerId
,
...
@@ -168,7 +169,8 @@ class Account {
...
@@ -168,7 +169,8 @@ class Account {
this
.
gstNumber
,
this
.
gstNumber
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
Account
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
Account
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -194,27 +196,27 @@ class Account {
...
@@ -194,27 +196,27 @@ class Account {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'temp_id'
]
=
this
.
tempId
;
data
[
'temp_id'
]
=
tempId
;
data
[
'owner_id'
]
=
this
.
ownerId
;
data
[
'owner_id'
]
=
ownerId
;
data
[
'acc_manager_id'
]
=
this
.
accManagerId
;
data
[
'acc_manager_id'
]
=
accManagerId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'salutation_name'
]
=
this
.
salutationName
;
data
[
'salutation_name'
]
=
salutationName
;
data
[
'sub_locality'
]
=
this
.
subLocality
;
data
[
'sub_locality'
]
=
subLocality
;
data
[
'district'
]
=
this
.
district
;
data
[
'district'
]
=
district
;
data
[
'state'
]
=
this
.
state
;
data
[
'state'
]
=
state
;
data
[
'pincode'
]
=
this
.
pincode
;
data
[
'pincode'
]
=
pincode
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'source'
]
=
this
.
source
;
data
[
'source'
]
=
source
;
data
[
'reference'
]
=
this
.
reference
;
data
[
'reference'
]
=
reference
;
data
[
'segment'
]
=
this
.
segment
;
data
[
'segment'
]
=
segment
;
data
[
'team'
]
=
this
.
team
;
data
[
'team'
]
=
team
;
data
[
'gst_number'
]
=
this
.
gstNumber
;
data
[
'gst_number'
]
=
gstNumber
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
...
@@ -235,8 +237,8 @@ class Contact {
...
@@ -235,8 +237,8 @@ class Contact {
String
?
createdDatetime
;
String
?
createdDatetime
;
String
?
updatedDatetime
;
String
?
updatedDatetime
;
Contact
(
Contact
(
{
{
this
.
id
,
this
.
id
,
this
.
accId
,
this
.
accId
,
this
.
name
,
this
.
name
,
this
.
salutationName
,
this
.
salutationName
,
...
@@ -249,7 +251,8 @@ class Contact {
...
@@ -249,7 +251,8 @@ class Contact {
this
.
date
,
this
.
date
,
this
.
isExists
,
this
.
isExists
,
this
.
createdDatetime
,
this
.
createdDatetime
,
this
.
updatedDatetime
});
this
.
updatedDatetime
,
});
Contact
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
Contact
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
id
=
json
[
'id'
];
id
=
json
[
'id'
];
...
@@ -269,21 +272,21 @@ class Contact {
...
@@ -269,21 +272,21 @@ class Contact {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'acc_id'
]
=
this
.
accId
;
data
[
'acc_id'
]
=
accId
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'salutation_name'
]
=
this
.
salutationName
;
data
[
'salutation_name'
]
=
salutationName
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'mob2'
]
=
this
.
mob2
;
data
[
'mob2'
]
=
mob2
;
data
[
'tel'
]
=
this
.
tel
;
data
[
'tel'
]
=
tel
;
data
[
'email'
]
=
this
.
email
;
data
[
'email'
]
=
email
;
data
[
'type'
]
=
this
.
type
;
data
[
'type'
]
=
type
;
data
[
'designation'
]
=
this
.
designation
;
data
[
'designation'
]
=
designation
;
data
[
'date'
]
=
this
.
date
;
data
[
'date'
]
=
date
;
data
[
'is_exists'
]
=
this
.
isExists
;
data
[
'is_exists'
]
=
isExists
;
data
[
'created_datetime'
]
=
this
.
createdDatetime
;
data
[
'created_datetime'
]
=
createdDatetime
;
data
[
'updated_datetime'
]
=
this
.
updatedDatetime
;
data
[
'updated_datetime'
]
=
updatedDatetime
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/SubmitProspectListFilterResponse.dart
View file @
7210793a
...
@@ -3,14 +3,17 @@ class SubmitProspectListFilterResponse {
...
@@ -3,14 +3,17 @@ class SubmitProspectListFilterResponse {
String
?
error
;
String
?
error
;
String
?
message
;
String
?
message
;
SubmitProspectListFilterResponse
(
SubmitProspectListFilterResponse
({
{
this
.
accountsList
,
this
.
error
,
this
.
message
});
this
.
accountsList
,
this
.
error
,
this
.
message
,
});
SubmitProspectListFilterResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
SubmitProspectListFilterResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
if
(
json
[
'accounts_list'
]
!=
null
)
{
if
(
json
[
'accounts_list'
]
!=
null
)
{
accountsList
=
<
AccountsList
>[];
accountsList
=
<
AccountsList
>[];
json
[
'accounts_list'
].
forEach
((
v
)
{
json
[
'accounts_list'
].
forEach
((
v
)
{
accountsList
!.
add
(
new
AccountsList
.
fromJson
(
v
));
accountsList
!.
add
(
AccountsList
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -18,13 +21,12 @@ class SubmitProspectListFilterResponse {
...
@@ -18,13 +21,12 @@ class SubmitProspectListFilterResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>();
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>{};
if
(
this
.
accountsList
!=
null
)
{
if
(
accountsList
!=
null
)
{
data
[
'accounts_list'
]
=
data
[
'accounts_list'
]
=
accountsList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
this
.
accountsList
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
return
data
;
return
data
;
}
}
}
}
...
@@ -40,8 +42,8 @@ class AccountsList {
...
@@ -40,8 +42,8 @@ class AccountsList {
String
?
aname
;
String
?
aname
;
String
?
age
;
String
?
age
;
AccountsList
(
AccountsList
(
{
{
this
.
gstNumber
,
this
.
gstNumber
,
this
.
adate
,
this
.
adate
,
this
.
accman
,
this
.
accman
,
this
.
mob1
,
this
.
mob1
,
...
@@ -49,7 +51,8 @@ class AccountsList {
...
@@ -49,7 +51,8 @@ class AccountsList {
this
.
address
,
this
.
address
,
this
.
aid
,
this
.
aid
,
this
.
aname
,
this
.
aname
,
this
.
age
});
this
.
age
,
});
AccountsList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
AccountsList
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
gstNumber
=
json
[
'gst_number'
];
gstNumber
=
json
[
'gst_number'
];
...
@@ -64,16 +67,16 @@ class AccountsList {
...
@@ -64,16 +67,16 @@ class AccountsList {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'gst_number'
]
=
this
.
gstNumber
;
data
[
'gst_number'
]
=
gstNumber
;
data
[
'adate'
]
=
this
.
adate
;
data
[
'adate'
]
=
adate
;
data
[
'accman'
]
=
this
.
accman
;
data
[
'accman'
]
=
accman
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
data
[
'cname'
]
=
this
.
cname
;
data
[
'cname'
]
=
cname
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
address
;
data
[
'aid'
]
=
this
.
aid
;
data
[
'aid'
]
=
aid
;
data
[
'aname'
]
=
this
.
aname
;
data
[
'aname'
]
=
aname
;
data
[
'age'
]
=
this
.
age
;
data
[
'age'
]
=
age
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/appointmentCalendarResponse.dart
View file @
7210793a
...
@@ -15,7 +15,7 @@ class appointmentCalendarResponse {
...
@@ -15,7 +15,7 @@ class appointmentCalendarResponse {
if
(
json
[
'appointments'
]
!=
null
)
{
if
(
json
[
'appointments'
]
!=
null
)
{
appointments
=
<
Appointments
>[];
appointments
=
<
Appointments
>[];
json
[
'appointments'
].
forEach
((
v
)
{
json
[
'appointments'
].
forEach
((
v
)
{
appointments
!.
add
(
new
Appointments
.
fromJson
(
v
));
appointments
!.
add
(
Appointments
.
fromJson
(
v
));
});
});
}
}
error
=
json
[
'error'
];
error
=
json
[
'error'
];
...
@@ -24,13 +24,13 @@ class appointmentCalendarResponse {
...
@@ -24,13 +24,13 @@ class appointmentCalendarResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
if
(
this
.
appointments
!=
null
)
{
if
(
appointments
!=
null
)
{
data
[
'appointments'
]
=
this
.
appointments
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
data
[
'appointments'
]
=
appointments
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
data
[
'session_exists'
]
=
this
.
sessionExists
;
data
[
'session_exists'
]
=
sessionExists
;
return
data
;
return
data
;
}
}
}
}
...
@@ -65,14 +65,14 @@ class Appointments {
...
@@ -65,14 +65,14 @@ class Appointments {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'emp_id'
]
=
this
.
empId
;
data
[
'emp_id'
]
=
empId
;
data
[
'id'
]
=
this
.
id
;
data
[
'id'
]
=
id
;
data
[
'lead_id'
]
=
this
.
leadId
;
data
[
'lead_id'
]
=
leadId
;
data
[
'app_date'
]
=
this
.
appDate
;
data
[
'app_date'
]
=
appDate
;
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
name
;
data
[
'product'
]
=
this
.
product
;
data
[
'product'
]
=
product
;
data
[
'mob1'
]
=
this
.
mob1
;
data
[
'mob1'
]
=
mob1
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/crmAddFollowUpResponse.dart
View file @
7210793a
...
@@ -4,8 +4,12 @@ class crmAddFollowUpResponse {
...
@@ -4,8 +4,12 @@ class crmAddFollowUpResponse {
String
?
message
;
String
?
message
;
int
?
sessionExists
;
int
?
sessionExists
;
crmAddFollowUpResponse
(
crmAddFollowUpResponse
({
{
this
.
redirectTo
,
this
.
error
,
this
.
message
,
this
.
sessionExists
});
this
.
redirectTo
,
this
.
error
,
this
.
message
,
this
.
sessionExists
,
});
crmAddFollowUpResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
crmAddFollowUpResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
redirectTo
=
json
[
'redirect_to'
];
redirectTo
=
json
[
'redirect_to'
];
...
@@ -15,11 +19,11 @@ class crmAddFollowUpResponse {
...
@@ -15,11 +19,11 @@ class crmAddFollowUpResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'redirect_to'
]
=
this
.
redirectTo
;
data
[
'redirect_to'
]
=
redirectTo
;
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
data
[
'session_exists'
]
=
this
.
sessionExists
;
data
[
'session_exists'
]
=
sessionExists
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/crmDashboardFollowUpResponse.dart
View file @
7210793a
...
@@ -4,15 +4,19 @@ class crmDashboardFollowUpResponse {
...
@@ -4,15 +4,19 @@ class crmDashboardFollowUpResponse {
String
?
message
;
String
?
message
;
int
?
sessionExists
;
int
?
sessionExists
;
crmDashboardFollowUpResponse
(
crmDashboardFollowUpResponse
({
{
this
.
error
,
this
.
followupLists
,
this
.
message
,
this
.
sessionExists
});
this
.
error
,
this
.
followupLists
,
this
.
message
,
this
.
sessionExists
,
});
crmDashboardFollowUpResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
crmDashboardFollowUpResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
error
=
json
[
'error'
];
error
=
json
[
'error'
];
if
(
json
[
'followup_lists'
]
!=
null
)
{
if
(
json
[
'followup_lists'
]
!=
null
)
{
followupLists
=
<
FollowupLists
>[];
followupLists
=
<
FollowupLists
>[];
json
[
'followup_lists'
].
forEach
((
v
)
{
json
[
'followup_lists'
].
forEach
((
v
)
{
followupLists
!.
add
(
new
FollowupLists
.
fromJson
(
v
));
followupLists
!.
add
(
FollowupLists
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
...
@@ -20,14 +24,13 @@ class crmDashboardFollowUpResponse {
...
@@ -20,14 +24,13 @@ class crmDashboardFollowUpResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>();
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>{};
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
followupLists
!=
null
)
{
if
(
followupLists
!=
null
)
{
data
[
'followup_lists'
]
=
data
[
'followup_lists'
]
=
followupLists
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
this
.
followupLists
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
data
[
'session_exists'
]
=
this
.
sessionExists
;
data
[
'session_exists'
]
=
sessionExists
;
return
data
;
return
data
;
}
}
}
}
...
@@ -42,15 +45,16 @@ class FollowupLists {
...
@@ -42,15 +45,16 @@ class FollowupLists {
String
?
lempid
;
String
?
lempid
;
String
?
aid
;
String
?
aid
;
FollowupLists
(
FollowupLists
(
{
{
this
.
aname
,
this
.
aname
,
this
.
appdate
,
this
.
appdate
,
this
.
atype
,
this
.
atype
,
this
.
anote
,
this
.
anote
,
this
.
leadid
,
this
.
leadid
,
this
.
lstatus
,
this
.
lstatus
,
this
.
lempid
,
this
.
lempid
,
this
.
aid
});
this
.
aid
,
});
FollowupLists
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
FollowupLists
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
aname
=
json
[
'aname'
];
aname
=
json
[
'aname'
];
...
@@ -64,15 +68,15 @@ class FollowupLists {
...
@@ -64,15 +68,15 @@ class FollowupLists {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'aname'
]
=
this
.
aname
;
data
[
'aname'
]
=
aname
;
data
[
'appdate'
]
=
this
.
appdate
;
data
[
'appdate'
]
=
appdate
;
data
[
'atype'
]
=
this
.
atype
;
data
[
'atype'
]
=
atype
;
data
[
'anote'
]
=
this
.
anote
;
data
[
'anote'
]
=
anote
;
data
[
'leadid'
]
=
this
.
leadid
;
data
[
'leadid'
]
=
leadid
;
data
[
'lstatus'
]
=
this
.
lstatus
;
data
[
'lstatus'
]
=
lstatus
;
data
[
'lempid'
]
=
this
.
lempid
;
data
[
'lempid'
]
=
lempid
;
data
[
'aid'
]
=
this
.
aid
;
data
[
'aid'
]
=
aid
;
return
data
;
return
data
;
}
}
}
}
lib/Models/crmModels/crmDashboardQuotationResponse.dart
View file @
7210793a
...
@@ -4,15 +4,19 @@ class crmDashboardQuotationResponse {
...
@@ -4,15 +4,19 @@ class crmDashboardQuotationResponse {
String
?
message
;
String
?
message
;
int
?
sessionExists
;
int
?
sessionExists
;
crmDashboardQuotationResponse
(
crmDashboardQuotationResponse
({
{
this
.
error
,
this
.
quotationLists
,
this
.
message
,
this
.
sessionExists
});
this
.
error
,
this
.
quotationLists
,
this
.
message
,
this
.
sessionExists
,
});
crmDashboardQuotationResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
crmDashboardQuotationResponse
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
error
=
json
[
'error'
];
error
=
json
[
'error'
];
if
(
json
[
'quotation_lists'
]
!=
null
)
{
if
(
json
[
'quotation_lists'
]
!=
null
)
{
quotationLists
=
<
QuotationLists
>[];
quotationLists
=
<
QuotationLists
>[];
json
[
'quotation_lists'
].
forEach
((
v
)
{
json
[
'quotation_lists'
].
forEach
((
v
)
{
quotationLists
!.
add
(
new
QuotationLists
.
fromJson
(
v
));
quotationLists
!.
add
(
QuotationLists
.
fromJson
(
v
));
});
});
}
}
message
=
json
[
'message'
];
message
=
json
[
'message'
];
...
@@ -20,14 +24,13 @@ class crmDashboardQuotationResponse {
...
@@ -20,14 +24,13 @@ class crmDashboardQuotationResponse {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>();
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>{};
data
[
'error'
]
=
this
.
error
;
data
[
'error'
]
=
error
;
if
(
this
.
quotationLists
!=
null
)
{
if
(
quotationLists
!=
null
)
{
data
[
'quotation_lists'
]
=
data
[
'quotation_lists'
]
=
quotationLists
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
this
.
quotationLists
!.
map
((
v
)
=>
v
.
toJson
()).
toList
();
}
}
data
[
'message'
]
=
this
.
message
;
data
[
'message'
]
=
message
;
data
[
'session_exists'
]
=
this
.
sessionExists
;
data
[
'session_exists'
]
=
sessionExists
;
return
data
;
return
data
;
}
}
}
}
...
@@ -39,8 +42,13 @@ class QuotationLists {
...
@@ -39,8 +42,13 @@ class QuotationLists {
String
?
lempid
;
String
?
lempid
;
String
?
quotationId
;
String
?
quotationId
;
QuotationLists
(
QuotationLists
({
{
this
.
aname
,
this
.
leadid
,
this
.
lstatus
,
this
.
lempid
,
this
.
quotationId
});
this
.
aname
,
this
.
leadid
,
this
.
lstatus
,
this
.
lempid
,
this
.
quotationId
,
});
QuotationLists
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
QuotationLists
.
fromJson
(
Map
<
String
,
dynamic
>
json
)
{
aname
=
json
[
'aname'
];
aname
=
json
[
'aname'
];
...
@@ -51,12 +59,12 @@ class QuotationLists {
...
@@ -51,12 +59,12 @@ class QuotationLists {
}
}
Map
<
String
,
dynamic
>
toJson
()
{
Map
<
String
,
dynamic
>
toJson
()
{
final
Map
<
String
,
dynamic
>
data
=
new
Map
<
String
,
dynamic
>
()
;
final
Map
<
String
,
dynamic
>
data
=
<
String
,
dynamic
>
{}
;
data
[
'aname'
]
=
this
.
aname
;
data
[
'aname'
]
=
aname
;
data
[
'leadid'
]
=
this
.
leadid
;
data
[
'leadid'
]
=
leadid
;
data
[
'lstatus'
]
=
this
.
lstatus
;
data
[
'lstatus'
]
=
lstatus
;
data
[
'lempid'
]
=
this
.
lempid
;
data
[
'lempid'
]
=
lempid
;
data
[
'quotation_id'
]
=
this
.
quotationId
;
data
[
'quotation_id'
]
=
quotationId
;
return
data
;
return
data
;
}
}
}
}
Prev
1
2
3
4
5
6
7
…
15
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment