JFIF$        dd7 

Viewing File: /home/vanquishholdings/public_html/src/database/seeders/SettingSeeder.php

<?php

namespace Database\Seeders;

use App\Enums\Frontend\InputField;
use App\Enums\Frontend\RequiredStatus;
use App\Enums\Status;
use App\Models\Setting;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class SettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run():void
    {
        $setting = [
            'sms_gateway_id' => 1,
            'logo' => [
                'dark' => 'dark_logo.png',
                'white' => 'white_logo.png',
                'favicon' => 'favicon.png',
            ],
            'appearance' => [
                'site_title' => "FinFunder",
                'timezone' => 'UTC',
                'currency_code' => 'USD',
                'currency_symbol' => '$',
                'phone' => '1234567890',
                'email' => 'demo@example.com',
                'address' => '3971 Roden Dr NE',
                'paginate' => '20',
                'copy_right_text' => "© 2024 by FinFunder. All rights reserved.",
            ],
            'theme_setting' => [
                'primary_color' => '#fe710d',
                'secondary_color' => '#fe710d',
                'primary_text_color' => '#150801',
                'secondary_text_color' => '#6a6a6a',
            ],
            'recaptcha_setting' => [
                'registration' => Status::INACTIVE->value,
                'login' => Status::INACTIVE->value,
                'key' => '#fe710d',
                'secret' => '#fe710d',
            ],
            'seo_setting' => [
                'title' => '-',
                'image' => null,
                'keywords' => ['crypto', 'trade'],
                'description' => 'FinFunder',
            ],
            'matrix_parameters' => [
                'height' => 6,
                'width' => 10,
            ],
            'mail_configuration' => [
                'from_name' => "FinFunder",
                'from_email'=> 'noreply@kloudinnovation.com',
                'host' => 'mail.smtp2go.com',
                'port' => '465',
                'encryption' => 'tls',
                'username' => 'demo' ,
                'password' => "demo"
            ],
            'agent_investment_commission' => [
                'fixed_commission'=> [
                    'status' => Status::ACTIVE->value,
                    'bonus' => 5,
                ],
                'percentage_commission'=> [
                    'status' => Status::ACTIVE->value,
                    'bonus' => 5,
                ],
                'performance_based_commission'=> [
                    'status' => Status::ACTIVE->value,
                    'threshold' => 1000,
                    'bonus' => 15,
                ],
                'monthly_team_investment_commission'=> [
                    'status' => Status::ACTIVE->value,
                    'monthly_team_investment' => 100000,
                    'bonus' => 100,
                ]
            ],
            'system_configuration' => [
                'investment_reward' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "Enabling this module allows users to receive rewards for their investments within the system.",
                ],
                'balance_transfer' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "Enabling this module allows users to initiate balance transfers within the system.",
                ],
                'e_pin' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, users won't be able to recharge E-pins on this system.",
                ],
                'withdraw_request' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, users won't be able to submit withdrawal requests in this system.",
                ],
                'binary_trade' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you deactivate the binary trade option, the binary trading feature will be turned off.",
                ],
                'practice_trade' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you deactivate the practice trade option, the practice trading feature will be turned off.",
                ],
                'registration_status' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, new users won't be able to register on this system.",
                ],
                'email_verification' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you deactivate the email verification module, users won't be able to verify their email addresses in this system.",
                ],
                'email_notification' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, users won't receive email notifications in this system.",
                ],
                'sms_notification' => [
                    'value' => \App\Enums\Status::INACTIVE->value,
                    'title' => "If you disable this module, users won't receive SMS notifications in this system.",
                ],
                'kyc_verification' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, users won't undergo KYC verification in this system.",
                ],
                'cookie_activation' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, users won't be able to activate cookies in this system.",
                ],
                'language' => [
                    'value' => \App\Enums\Status::ACTIVE->value,
                    'title' => "If you disable this module, users won't be able to change the system language.",
                ],
            ],
            'social_login' => [
                'google' => [
                    'client_id' => "demo",
                    'client_secret' => "demo",
                    'redirect' => env('APP_URL').'/google/callback',
                    'status' => Status::INACTIVE->value,
                ],
                'facebook' => [
                    'client_id' => "demo",
                    'client_secret' => "demo",
                    'redirect' => env('APP_URL').'/facebook/callback',
                    'status' => Status::INACTIVE->value,
                ],
            ],
            'commissions_charge'=> [
                'investment_transfer_charge' => 1,
                'investment_cancel_charge' => 1,
                'e_pin_charge' => 2,
                'balance_transfer_charge' => 1,
                'binary_trade_commissions' => 1,
                'trade_practice_balance' => 1000,
            ],
            'investment_setting' => [
                'investment' => 1,
                'staking_investment' => 1,
                'matrix' => 1,
                'trade_prediction' => 1,
            ],
            'security' => [
                'application_firewall' => [
                    'attempts' => 5,
                    'frequency' => 60,
                    'period' => 30,
                    'status' => Status::INACTIVE->value
                ],
            ],
            'kyc_configuration' => [
                [
                    'field_label' => "Name",
                    'field_type' => InputField::TEXT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => null,
                ],
                [
                    'field_label' => "Gender",
                    'field_type' => InputField::SELECT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => [
                        'Male',
                        'Female',
                        'Other',
                        'Prefer not to say'
                    ],
                ],
                [
                    'field_label' => "Date of Birth",
                    'field_type' => InputField::TEXT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => null,
                ],
                [
                    'field_label' => "Email Address",
                    'field_type' => InputField::TEXT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => null,
                ],
                [
                    'field_label' => "Phone Number",
                    'field_type' => InputField::TEXT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => null,
                ],
                [
                    'field_label' => "Home Address",
                    'field_type' => InputField::TEXT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => null,
                ],
                [
                    'field_label' => "Nationality",
                    'field_type' => InputField::TEXT->value,
                    'is_required' => RequiredStatus::YES->value,
                    'options' => null,
                ],
            ],
            'mail_template' => 'Hello Dear,',
            'sms_template' => 'Hello Dear,',
            'version' => '1.0'
        ];
        Setting::truncate();
        Setting::create($setting);
    }
}
Back to Directory  nL+D550H?Mx ,D"v]qv;6*Zqn)ZP0!1 A "#a$2Qr D8 a Ri[f\mIykIw0cuFcRı?lO7к_f˓[C$殷WF<_W ԣsKcëIzyQy/_LKℂ;C",pFA:/]=H  ~,ls/9ć:[=/#f;)x{ٛEQ )~ =𘙲r*2~ a _V=' kumFD}KYYC)({ *g&f`툪ry`=^cJ.I](*`wq1dđ#̩͑0;H]u搂@:~וKL Nsh}OIR*8:2 !lDJVo(3=M(zȰ+i*NAr6KnSl)!JJӁ* %݉?|D}d5:eP0R;{$X'xF@.ÊB {,WJuQɲRI;9QE琯62fT.DUJ;*cP A\ILNj!J۱+O\͔]ޒS߼Jȧc%ANolՎprULZԛerE2=XDXgVQeӓk yP7U*omQIs,K`)6\G3t?pgjrmۛجwluGtfh9uyP0D;Uڽ"OXlif$)&|ML0Zrm1[HXPlPR0'G=i2N+0e2]]9VTPO׮7h(F*癈'=QVZDF,d߬~TX G[`le69CR(!S2!P <0x<!1AQ "Raq02Br#SCTb ?Ζ"]mH5WR7k.ۛ!}Q~+yԏz|@T20S~Kek *zFf^2X*(@8r?CIuI|֓>^ExLgNUY+{.RѪ τV׸YTD I62'8Y27'\TP.6d&˦@Vqi|8-OΕ]ʔ U=TL8=;6c| !qfF3aů&~$l}'NWUs$Uk^SV:U# 6w++s&r+nڐ{@29 gL u"TÙM=6(^"7r}=6YݾlCuhquympǦ GjhsǜNlɻ}o7#S6aw4!OSrD57%|?x>L |/nD6?/8w#[)L7+6〼T ATg!%5MmZ/c-{1_Je"|^$'O&ޱմTrb$w)R$& N1EtdU3Uȉ1pM"N*(DNyd96.(jQ)X 5cQɎMyW?Q*!R>6=7)Xj5`J]e8%t!+'!1Q5 !1 AQaqё#2"0BRb?Gt^## .llQT $v,,m㵜5ubV =sY+@d{N! dnO<.-B;_wJt6;QJd.Qc%p{ 1,sNDdFHI0ГoXшe黅XۢF:)[FGXƹ/w_cMeD,ʡcc.WDtA$j@:) -# u c1<@ۗ9F)KJ-hpP]_x[qBlbpʖw q"LFGdƶ*s+ډ_Zc"?%t[IP 6J]#=ɺVvvCGsGh1 >)6|ey?Lӣm,4GWUi`]uJVoVDG< SB6ϏQ@ TiUlyOU0kfV~~}SZ@*WUUi##; s/[=!7}"WN]'(L! ~y5g9T̅JkbM' +s:S +B)v@Mj e Cf jE 0Y\QnzG1д~Wo{T9?`Rmyhsy3!HAD]mc1~2LSu7xT;j$`}4->L#vzŏILS ֭T{rjGKC;bpU=-`BsK.SFw4Mq]ZdHS0)tLg