683 lines
17 KiB
TypeScript
683 lines
17 KiB
TypeScript
import { IOption } from 'core/types/Calculation/Store/options';
|
||
import { TEntities } from 'core/types/Entities/entityNames';
|
||
import faker from 'faker';
|
||
|
||
|
||
/**
|
||
* Fake Consts
|
||
*/
|
||
const ACCOUNT_1_ID = faker.random.uuid();
|
||
const ACCOUNT_2_ID = faker.random.uuid();
|
||
const ACCOUNT_3_ID = faker.random.uuid();
|
||
const ACCOUNT_4_ID = faker.random.uuid();
|
||
const ACCOUNT_5_ID = faker.random.uuid();
|
||
const ACCOUNT_6_ID = faker.random.uuid();
|
||
const ACCOUNT_7_ID = faker.random.uuid();
|
||
const ACCOUNT_8_ID = faker.random.uuid();
|
||
const ACCOUNT_9_ID = faker.random.uuid();
|
||
const ACCOUNT_10_ID = faker.random.uuid();
|
||
const ACCOUNT_11_ID = faker.random.uuid();
|
||
const ACCOUNT_12_ID = faker.random.uuid();
|
||
const ACCOUNT_13_ID = faker.random.uuid();
|
||
const ACCOUNT_14_ID = faker.random.uuid();
|
||
const ACCOUNT_15_ID = faker.random.uuid();
|
||
const ACCOUNT_16_ID = faker.random.uuid();
|
||
|
||
const LEAD_1_ID = faker.random.uuid();
|
||
const LEAD_2_ID = faker.random.uuid();
|
||
const LEAD_3_ID = faker.random.uuid();
|
||
|
||
const OPPORTUNITY_1_ID = faker.random.uuid();
|
||
const OPPORTUNITY_2_ID = faker.random.uuid();
|
||
const OPPORTUNITY_3_ID = faker.random.uuid();
|
||
|
||
const QUOTE_1_ID = faker.random.uuid();
|
||
const QUOTE_2_ID = faker.random.uuid();
|
||
const QUOTE_3_ID = faker.random.uuid();
|
||
const QUOTE_4_ID = faker.random.uuid();
|
||
|
||
const TRANSACTION_CURRENTCY_1_ID = faker.random.uuid();
|
||
const TRANSACTION_CURRENTCY_2_ID = faker.random.uuid();
|
||
const TRANSACTION_CURRENTCY_3_ID = faker.random.uuid();
|
||
|
||
const EVO_CLIENT_1_ID = faker.random.uuid();
|
||
const EVO_CLIENT_2_ID = faker.random.uuid();
|
||
|
||
const EVO_CLIENT_RISK_1_ID = faker.random.uuid();
|
||
const EVO_CLIENT_RISK_2_ID = faker.random.uuid();
|
||
|
||
const GPS_BRAND_1_ID = faker.random.uuid();
|
||
const GPS_BRAND_2_ID = faker.random.uuid();
|
||
const GPS_BRAND_3_ID = faker.random.uuid();
|
||
|
||
const GPS_MODEL_1_ID = faker.random.uuid();
|
||
const GPS_MODEL_2_ID = faker.random.uuid();
|
||
const GPS_MODEL_3_ID = faker.random.uuid();
|
||
const GPS_MODEL_4_ID = faker.random.uuid();
|
||
|
||
const REGION_1_ID = faker.random.uuid();
|
||
const REGION_2_ID = faker.random.uuid();
|
||
const REGION_3_ID = faker.random.uuid();
|
||
const REGION_4_ID = faker.random.uuid();
|
||
|
||
const TOWN_1_ID = faker.random.uuid();
|
||
const TOWN_2_ID = faker.random.uuid();
|
||
const TOWN_3_ID = faker.random.uuid();
|
||
const TOWN_4_ID = faker.random.uuid();
|
||
|
||
const REWARD_CONDITION_1_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_2_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_3_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_4_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_5_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_6_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_7_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_8_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_9_ID = faker.random.uuid();
|
||
const REWARD_CONDITION_10_ID = faker.random.uuid();
|
||
|
||
const EVO_CONNECTION_ROLE_1_ID = faker.random.uuid();
|
||
const EVO_CONNECTION_ROLE_2_ID = faker.random.uuid();
|
||
const EVO_CONNECTION_ROLE_3_ID = faker.random.uuid();
|
||
|
||
const CONNECTION_1_ID = faker.random.uuid();
|
||
const CONNECTION_2_ID = faker.random.uuid();
|
||
const CONNECTION_3_ID = faker.random.uuid();
|
||
const CONNECTION_4_ID = faker.random.uuid();
|
||
const CONNECTION_5_ID = faker.random.uuid();
|
||
const CONNECTION_6_ID = faker.random.uuid();
|
||
|
||
const EVO_BRAND_ID = Array.from({ length: 10 }, () => faker.random.uuid());
|
||
const EVO_MODEL_ID = Array.from({ length: 10 }, () => faker.random.uuid());
|
||
const EVO_EQUIPMENT_ID = Array.from({ length: 10 }, () => faker.random.uuid());
|
||
const EVO_IMPAIRMENT_GROUP_ID = Array.from({ length: 10 }, () =>
|
||
faker.random.uuid(),
|
||
);
|
||
const EVO_CURRENCY_CHANGE_ID = Array.from({ length: 5 }, () =>
|
||
faker.random.uuid(),
|
||
);
|
||
const EVO_STATUSCODE_ID = Array.from({ length: 5 }, () => faker.random.uuid());
|
||
|
||
/**
|
||
* Fake Consts
|
||
*/
|
||
|
||
const entityFakeData: TEntities<IOption[]> = {
|
||
account: [
|
||
{
|
||
accountid: ACCOUNT_1_ID,
|
||
name: 'Салон 1',
|
||
evo_account_type: 100000001,
|
||
evo_supplier_type: 100000000,
|
||
statecode: 0,
|
||
evo_fin_department_accountid: ACCOUNT_4_ID,
|
||
evo_broker_accountid: ACCOUNT_11_ID,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_2_ID,
|
||
name: 'Салон 2',
|
||
evo_account_type: 100000001,
|
||
evo_supplier_type: 100000000,
|
||
statecode: 0,
|
||
evo_fin_department_accountid: ACCOUNT_5_ID,
|
||
evo_broker_accountid: ACCOUNT_12_ID,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_3_ID,
|
||
name: 'Салон 3',
|
||
evo_account_type: 100000001,
|
||
evo_supplier_type: 100000000,
|
||
statecode: 0,
|
||
// evo_broker_accountid: ACCOUNT_13_ID,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_4_ID,
|
||
name: 'Брокер',
|
||
evo_account_type: 100000005,
|
||
evo_supplier_type: 100000000,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_5_ID,
|
||
name: 'Финотдел2',
|
||
evo_account_type: 100000005,
|
||
evo_supplier_type: 100000000,
|
||
statecode: 0,
|
||
evo_client_riskid: EVO_CLIENT_RISK_1_ID,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_6_ID,
|
||
name: 'Агент1',
|
||
evo_account_type: 100000005,
|
||
evo_legal_form: 100000004,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_7_ID,
|
||
name: 'Агент2',
|
||
evo_account_type: 100000005,
|
||
evo_legal_form: 100000004,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_8_ID,
|
||
name: 'Агент3',
|
||
evo_account_type: 100000005,
|
||
evo_legal_form: 100000004,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_9_ID,
|
||
name: 'Агент4',
|
||
evo_account_type: 100000005,
|
||
evo_legal_form: 100000004,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
accountid: ACCOUNT_10_ID,
|
||
name: 'Клиент 1',
|
||
evo_account_type: 100000000,
|
||
evo_client_riskid: EVO_CLIENT_RISK_2_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
name: 'ЮЛ поставщика 1',
|
||
accountid: ACCOUNT_11_ID,
|
||
evo_supplier_type: 100000001,
|
||
statecode: 0,
|
||
evo_broker_accountid: ACCOUNT_4_ID,
|
||
},
|
||
{
|
||
name: 'ЮЛ поставщика 2',
|
||
accountid: ACCOUNT_12_ID,
|
||
evo_supplier_type: 100000001,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
name: 'ЮЛ поставщика 3',
|
||
accountid: ACCOUNT_13_ID,
|
||
evo_supplier_type: 100000001,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
name: 'ВСК',
|
||
accountid: ACCOUNT_14_ID,
|
||
evo_account_type: 100000002,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
name: 'РЕСО',
|
||
accountid: ACCOUNT_15_ID,
|
||
evo_account_type: 100000002,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
name: 'Ингосстрах',
|
||
accountid: ACCOUNT_16_ID,
|
||
evo_account_type: 100000002,
|
||
statecode: 0,
|
||
},
|
||
],
|
||
transactioncurrency: [
|
||
{
|
||
transactioncurrencyid: TRANSACTION_CURRENTCY_1_ID,
|
||
isocurrencycode: 'RUB',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
transactioncurrencyid: TRANSACTION_CURRENTCY_2_ID,
|
||
isocurrencycode: 'USD',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
transactioncurrencyid: TRANSACTION_CURRENTCY_3_ID,
|
||
isocurrencycode: 'EUR',
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_client_type: [
|
||
{
|
||
evo_client_typeid: EVO_CLIENT_1_ID,
|
||
evo_name: 'Новый',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_client_typeid: EVO_CLIENT_2_ID,
|
||
evo_name: 'Повторный',
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_client_risk: [
|
||
{
|
||
evo_client_riskid: EVO_CLIENT_RISK_1_ID,
|
||
evo_name: 'Низкий',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_client_riskid: EVO_CLIENT_RISK_2_ID,
|
||
evo_name: 'Высокий',
|
||
statecode: 0,
|
||
},
|
||
],
|
||
lead: [
|
||
{
|
||
fullname: '100_ООО "с агентами ФЛ',
|
||
leadid: LEAD_1_ID,
|
||
evo_opportunityid: OPPORTUNITY_1_ID,
|
||
evo_agent_accountid: ACCOUNT_6_ID,
|
||
evo_double_agent_accountid: ACCOUNT_7_ID,
|
||
},
|
||
{
|
||
fullname: '150_ООО "с брокером',
|
||
leadid: LEAD_2_ID,
|
||
evo_opportunityid: OPPORTUNITY_2_ID,
|
||
evo_broker_accountid: ACCOUNT_4_ID,
|
||
},
|
||
{
|
||
fullname: '176_ООО "С финотделом',
|
||
leadid: LEAD_3_ID,
|
||
// evo_opportunityid: OPPORTUNITY_3_ID,
|
||
evo_fin_department_accountid: ACCOUNT_5_ID,
|
||
account: ACCOUNT_5_ID,
|
||
},
|
||
],
|
||
opportunity: [
|
||
{
|
||
name: '112345_ООО "с агентами ФЛ с риском',
|
||
opportunityid: OPPORTUNITY_1_ID,
|
||
evo_client_riskid: EVO_CLIENT_RISK_1_ID,
|
||
evo_leadid: LEAD_1_ID,
|
||
},
|
||
{
|
||
name: '145678_ООО "с брокером и риском в клиенте',
|
||
opportunityid: OPPORTUNITY_2_ID,
|
||
evo_accountid: ACCOUNT_10_ID,
|
||
// evo_client_riskid: EVO_CLIENT_RISK_2_ID,
|
||
evo_leadid: LEAD_2_ID,
|
||
},
|
||
{
|
||
name: '346343_ООО "с брокером и риском в интересе',
|
||
opportunityid: OPPORTUNITY_3_ID,
|
||
evo_accountid: ACCOUNT_9_ID,
|
||
evo_leadid: LEAD_3_ID,
|
||
},
|
||
],
|
||
quote: [
|
||
{
|
||
name: '2345_ООО "с агентами ФЛ"',
|
||
quoteid: QUOTE_1_ID,
|
||
evo_leadid: LEAD_1_ID,
|
||
evo_recalc_limit: 2,
|
||
evo_statuscodeid: EVO_STATUSCODE_ID[0],
|
||
evo_approved_first_payment: 25,
|
||
},
|
||
{
|
||
name: '6789_ООО "с брокером"',
|
||
quoteid: QUOTE_2_ID,
|
||
evo_leadid: LEAD_2_ID,
|
||
},
|
||
{
|
||
name: '4567_ООО "с агентами ФЛ"',
|
||
quoteid: QUOTE_3_ID,
|
||
evo_leadid: LEAD_1_ID,
|
||
evo_recalc_limit: 1,
|
||
evo_statuscodeid: EVO_STATUSCODE_ID[1],
|
||
},
|
||
{
|
||
name: '5678_ООО "с агентами ФЛ"',
|
||
quoteid: QUOTE_4_ID,
|
||
evo_leadid: LEAD_1_ID,
|
||
evo_broker_accountid: ACCOUNT_5_ID,
|
||
evo_recalc_limit: 0,
|
||
evo_statuscodeid: EVO_STATUSCODE_ID[0],
|
||
},
|
||
],
|
||
evo_gps_brand: [
|
||
{
|
||
evo_name: 'Цезарь',
|
||
evo_gps_brandid: GPS_BRAND_1_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Аркан',
|
||
evo_gps_brandid: GPS_BRAND_2_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'КОбраКоннекс',
|
||
evo_gps_brandid: GPS_BRAND_3_ID,
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_gps_model: [
|
||
{
|
||
evo_name: 'OmegaX',
|
||
evo_gps_modelid: GPS_MODEL_1_ID,
|
||
statecode: 0,
|
||
evo_gps_brandid: GPS_BRAND_1_ID,
|
||
},
|
||
{
|
||
evo_name: 'Platinum',
|
||
evo_gps_modelid: GPS_MODEL_2_ID,
|
||
statecode: 0,
|
||
evo_gps_brandid: GPS_BRAND_1_ID,
|
||
},
|
||
{
|
||
evo_name: 'Premium',
|
||
evo_gps_modelid: GPS_MODEL_3_ID,
|
||
statecode: 0,
|
||
evo_gps_brandid: GPS_BRAND_2_ID,
|
||
},
|
||
{
|
||
evo_name: 'AutoConnex',
|
||
evo_gps_modelid: GPS_MODEL_4_ID,
|
||
statecode: 0,
|
||
evo_gps_brandid: GPS_BRAND_2_ID,
|
||
},
|
||
],
|
||
evo_region: [
|
||
{
|
||
evo_name: 'Москвоская',
|
||
evo_regionid: REGION_1_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Калининградская',
|
||
evo_regionid: REGION_2_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Красноярская',
|
||
evo_regionid: REGION_3_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Иркутская',
|
||
evo_regionid: REGION_4_ID,
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_town: [
|
||
{
|
||
evo_name: 'Одинцово',
|
||
evo_townid: TOWN_1_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Калининград',
|
||
evo_townid: TOWN_2_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Липецк',
|
||
evo_townid: TOWN_3_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Серпухов',
|
||
evo_townid: TOWN_4_ID,
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_reward_condition: [
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_6_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_1_ID,
|
||
evo_name: '1.5%',
|
||
evo_reward_summ: 1.5,
|
||
evo_double_agent_accountid: ACCOUNT_7_ID,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_6_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_2_ID,
|
||
evo_name: 'Не более 2%',
|
||
evo_reward_summ: 2,
|
||
evo_reduce_reward: true,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_7_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_3_ID,
|
||
evo_name: '5%',
|
||
evo_reward_summ: 5,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_7_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_4_ID,
|
||
evo_name: 'Не более 10%',
|
||
evo_reward_summ: 10,
|
||
evo_reduce_reward: true,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_5_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_5_ID,
|
||
evo_name: '7%',
|
||
evo_reward_summ: 7,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_5_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_6_ID,
|
||
evo_name: 'Не более 8%',
|
||
evo_reward_summ: 8,
|
||
evo_reduce_reward: true,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_4_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_7_ID,
|
||
evo_name: '3%',
|
||
evo_reward_summ: 3,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_4_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_8_ID,
|
||
evo_name: 'Не более 4%',
|
||
evo_reward_summ: 4,
|
||
evo_reduce_reward: true,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_11_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_9_ID,
|
||
evo_name: '3%',
|
||
evo_reward_summ: 3,
|
||
},
|
||
{
|
||
statecode: 0,
|
||
evo_agent_accountid: ACCOUNT_11_ID,
|
||
evo_reward_conditionid: REWARD_CONDITION_10_ID,
|
||
evo_name: 'Не более 6%',
|
||
evo_reward_summ: 6,
|
||
evo_reduce_reward: true,
|
||
},
|
||
],
|
||
connection: [
|
||
{
|
||
connectionid: CONNECTION_1_ID,
|
||
record1id: ACCOUNT_1_ID,
|
||
record2roleid: EVO_CONNECTION_ROLE_1_ID,
|
||
record2id: ACCOUNT_11_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
connectionid: CONNECTION_2_ID,
|
||
record1id: ACCOUNT_12_ID,
|
||
record2roleid: EVO_CONNECTION_ROLE_2_ID,
|
||
record2id: ACCOUNT_1_ID,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
connectionid: CONNECTION_3_ID,
|
||
record1id: ACCOUNT_2_ID,
|
||
record2roleid: EVO_CONNECTION_ROLE_1_ID,
|
||
record2id: ACCOUNT_13_ID,
|
||
statecode: 0,
|
||
},
|
||
// {
|
||
// connectionid: CONNECTION_4_ID,
|
||
// statecode: 0,
|
||
// },
|
||
// {
|
||
// connectionid: CONNECTION_5_ID,
|
||
// statecode: 0,
|
||
// },
|
||
// {
|
||
// connectionid: CONNECTION_6_ID,
|
||
// statecode: 0,
|
||
// },
|
||
],
|
||
evo_connection_role: [
|
||
{
|
||
evo_name: `ЮЛ Поставщика`,
|
||
statecode: 0,
|
||
evo_connection_roleid: EVO_CONNECTION_ROLE_1_ID,
|
||
},
|
||
{
|
||
evo_name: `Салон`,
|
||
statecode: 0,
|
||
evo_connection_roleid: EVO_CONNECTION_ROLE_2_ID,
|
||
},
|
||
{
|
||
evo_name: `Агент`,
|
||
statecode: 0,
|
||
evo_connection_roleid: EVO_CONNECTION_ROLE_3_ID,
|
||
},
|
||
],
|
||
evo_brand: [
|
||
{
|
||
evo_brandid: EVO_BRAND_ID[0],
|
||
evo_name: 'AUDI',
|
||
evo_importer_reward_perc: 2,
|
||
evo_importer_reward_rub: 5000,
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_brandid: EVO_BRAND_ID[1],
|
||
evo_name: 'BMW',
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_model: [
|
||
{
|
||
evo_modelid: EVO_MODEL_ID[0],
|
||
evo_name: 'A1',
|
||
evo_brandid: EVO_BRAND_ID[0],
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_modelid: EVO_MODEL_ID[1],
|
||
evo_name: 'A5',
|
||
evo_brandid: EVO_BRAND_ID[0],
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_modelid: EVO_MODEL_ID[2],
|
||
evo_name: 'Q7',
|
||
evo_importer_reward_perc: 5,
|
||
evo_importer_reward_rub: 10000,
|
||
evo_brandid: EVO_BRAND_ID[0],
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_modelid: EVO_MODEL_ID[3],
|
||
evo_name: '320i',
|
||
evo_brandid: EVO_BRAND_ID[1],
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_modelid: EVO_MODEL_ID[4],
|
||
evo_name: 'X1',
|
||
evo_brandid: EVO_BRAND_ID[1],
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_modelid: EVO_MODEL_ID[5],
|
||
evo_name: 'X5',
|
||
evo_brandid: EVO_BRAND_ID[1],
|
||
statecode: 0,
|
||
evo_impairment_groupid: EVO_IMPAIRMENT_GROUP_ID[0],
|
||
evo_leasingobject_risk: 100000000,
|
||
},
|
||
],
|
||
evo_equipment: [
|
||
{
|
||
evo_equipmentid: EVO_EQUIPMENT_ID[0],
|
||
evo_modelid: EVO_MODEL_ID[2],
|
||
evo_name: 'Exclusive',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_equipmentid: EVO_EQUIPMENT_ID[1],
|
||
evo_modelid: EVO_MODEL_ID[2],
|
||
evo_name: 'Business',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_equipmentid: EVO_EQUIPMENT_ID[2],
|
||
evo_modelid: EVO_MODEL_ID[5],
|
||
evo_name: 'Super',
|
||
statecode: 0,
|
||
evo_impairment_groupid: EVO_IMPAIRMENT_GROUP_ID[1],
|
||
evo_leasingobject_risk: 100000001,
|
||
},
|
||
{
|
||
evo_equipmentid: EVO_EQUIPMENT_ID[3],
|
||
evo_modelid: EVO_MODEL_ID[5],
|
||
evo_name: 'Basic',
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_impairment_group: [
|
||
{
|
||
evo_name: 'Группа #1',
|
||
evo_impairment_groupid: EVO_IMPAIRMENT_GROUP_ID[0],
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_name: 'Группа #2',
|
||
evo_impairment_groupid: EVO_IMPAIRMENT_GROUP_ID[1],
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_currencychange: [
|
||
{
|
||
evo_currencychangeid: EVO_CURRENCY_CHANGE_ID[0],
|
||
evo_name: 'Доллар на сегодня',
|
||
evo_ref_transactioncurrency: TRANSACTION_CURRENTCY_2_ID,
|
||
evo_currencychange: 100,
|
||
// evo_coursedate: new Date(),
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_currencychangeid: EVO_CURRENCY_CHANGE_ID[1],
|
||
evo_name: 'Евро на сегодня',
|
||
evo_ref_transactioncurrency: TRANSACTION_CURRENTCY_3_ID,
|
||
evo_currencychange: 200,
|
||
// evo_coursedate: new Date(),
|
||
statecode: 0,
|
||
},
|
||
],
|
||
evo_statuscode: [
|
||
{
|
||
evo_statuscodeid: EVO_STATUSCODE_ID[0],
|
||
evo_id: '2.3',
|
||
evo_name: 'Положительное решение',
|
||
statecode: 0,
|
||
},
|
||
{
|
||
evo_statuscodeid: EVO_STATUSCODE_ID[1],
|
||
evo_id: '2.2',
|
||
evo_name: 'Одобрено клиентом',
|
||
statecode: 0,
|
||
},
|
||
],
|
||
};
|
||
|
||
export default entityFakeData;
|