Dodanie przykładowych pojazdów, sprzętów i szkoleń
This commit is contained in:
parent
b85769b644
commit
a690b6f067
@ -2927,5 +2927,46 @@ class DatabaseSeeder extends Seeder
|
|||||||
DB::table('users')->insert(['id'=>'1203','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Michał Rogozinski','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'michal.rogozinski@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'3','degreeID'=>'3','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
DB::table('users')->insert(['id'=>'1203','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Michał Rogozinski','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'michal.rogozinski@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'3','degreeID'=>'3','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
DB::table('users')->insert(['id'=>'1204','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Lidia Kaczmarek','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'lidia.kaczmarek@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'4','degreeID'=>'4','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
DB::table('users')->insert(['id'=>'1204','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Lidia Kaczmarek','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'lidia.kaczmarek@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'4','degreeID'=>'4','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
DB::table('users')->insert(['id'=>'1205','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Michał Nowak','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'michal.nowak@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'5','degreeID'=>'5','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
DB::table('users')->insert(['id'=>'1205','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Michał Nowak','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'michal.nowak@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'5','degreeID'=>'5','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
//pojazdy
|
||||||
|
DB::table('vehicles')->insert(['id'=>'1101','fireStationID'=>'1100','name'=>'Peugeot Boxer','codename'=>'649P28','brand'=>'Peugeot','registrationNumber'=>'PWL37998','productionYear'=>'2017','examExpirationDate'=>'2020-12-31','insuranceExpirationDate'=>'2020-12-31','driveType'=>'4x2','chassisType'=>'Peugeot Boxer GLBA','bodyProducer'=>'IUVO CARS','crewNumber'=>'6','foamAgent'=>'20','enginePower'=>'163','mass'=>'3500','chassisNumber'=>'1ABCD23EFGH456789','engineNumber'=>'123456','fuelType'=>'diesel','chassisPoductionYear'=>'2017','entryIntoServiceDate'=>'2017-02-08','fireEnginePumpDescription'=>'motopompa','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now(),'status'=>'0']);
|
||||||
|
DB::table('vehicles')->insert(['id'=>'1102','fireStationID'=>'1100','name'=>'MAN','codename'=>'649P08','brand'=>'MAN','registrationNumber'=>'PWL32998','productionYear'=>'2016','examExpirationDate'=>'2020-12-31','insuranceExpirationDate'=>'2020-12-31','driveType'=>'4x4','chassisType'=>'MAN TGM 18.340 4x4','bodyProducer'=>'Stolarczyk','crewNumber'=>'6','foamAgent'=>'600','enginePower'=>'350','mass'=>'6000','chassisNumber'=>'1ABCD23EFGH456789','engineNumber'=>'123456','fuelType'=>'diesel','chassisPoductionYear'=>'2016','entryIntoServiceDate'=>'2016-02-16','fireEnginePumpDescription'=>'autopompa dwuzakresowa','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now(),'status'=>'0']);
|
||||||
|
DB::table('vehicles')->insert(['id'=>'1201','fireStationID'=>'1200','name'=>'TIMON','codename'=>'649P09','brand'=>'Volvo','registrationNumber'=>'PWL52295','productionYear'=>'2019','examExpirationDate'=>'2020-12-31','insuranceExpirationDate'=>'2020-12-31','driveType'=>'4x4','chassisType'=>'Volvo FL 4X4','bodyProducer'=>'Bocar','crewNumber'=>'6','foamAgent'=>'300','enginePower'=>'285','mass'=>'5000','chassisNumber'=>'1ABCD23EFGH456789','engineNumber'=>'123456','fuelType'=>'diesel','chassisPoductionYear'=>'2019','entryIntoServiceDate'=>'2019-11-19','fireEnginePumpDescription'=>'autopompa dwuzakresowa','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now(),'status'=>'0']);
|
||||||
|
DB::table('vehicles')->insert(['id'=>'1202','fireStationID'=>'1200','name'=>'RAFI','codename'=>'649P26','brand'=>'STAR','registrationNumber'=>'PWL40CK','productionYear'=>'2000','examExpirationDate'=>'2020-12-31','insuranceExpirationDate'=>'2020-12-31','driveType'=>'4x2','chassisType'=>'Star 12-185','bodyProducer'=>'Stolarczyk','crewNumber'=>'6','foamAgent'=>'300','enginePower'=>'200','mass'=>'5000','chassisNumber'=>'1ABCD23EFGH456789','engineNumber'=>'123456','fuelType'=>'diesel','chassisPoductionYear'=>'2000','entryIntoServiceDate'=>'2010-04-01','fireEnginePumpDescription'=>'motopompa','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now(),'status'=>'0']);
|
||||||
|
//sprzęt
|
||||||
|
DB::table('equipment')->insert(['id'=>'1101','fireStationID'=>'1100','name'=>'Wąż tłoczny W-52','amount'=>'13','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1102','fireStationID'=>'1100','name'=>'Przełącznik 75/52','amount'=>'1','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1103','fireStationID'=>'1100','name'=>'Prądownica wodna typu TURBO - 400dm3/min','amount'=>'2','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1104','fireStationID'=>'1100','name'=>'Piła łańcuchowa Stihl MS 290','amount'=>'1','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1105','fireStationID'=>'1100','name'=>'Motopompa przenośna - 800 dm3/min PO5','amount'=>'1','parameter'=>'800l/min 8 atm.','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1201','fireStationID'=>'1200','name'=>'Wąż tłoczny W-52','amount'=>'13','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1202','fireStationID'=>'1200','name'=>'Przełącznik 75/52','amount'=>'1','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1203','fireStationID'=>'1200','name'=>'Prądownica wodna typu TURBO - 400dm3/min','amount'=>'2','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1204','fireStationID'=>'1200','name'=>'Piła łańcuchowa Stihl MS 290','amount'=>'1','parameter'=>NULL,'deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('equipment')->insert(['id'=>'1205','fireStationID'=>'1200','name'=>'Motopompa przenośna - 800 dm3/min PO5','amount'=>'1','parameter'=>'800l/min 8 atm.','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
//szkolenia
|
||||||
|
DB::table('trainings')->insert(['id'=>'1110','fireStationID'=>'1100','trainingName'=>'Certyfikowany kurs ratownictwa medycznego','created_at'=>now(),'updated_at'=>now(),'deleted_at'=>NULL]);
|
||||||
|
DB::table('trainings')->insert(['id'=>'1120','fireStationID'=>'1100','trainingName'=>'Kurs drwali-pilarzy','created_at'=>now(),'updated_at'=>now(),'deleted_at'=>NULL]);
|
||||||
|
DB::table('trainings')->insert(['id'=>'1210','fireStationID'=>'1200','trainingName'=>'Kurs kwalifikowanej pierwszej pomocy','created_at'=>now(),'updated_at'=>now(),'deleted_at'=>NULL]);
|
||||||
|
DB::table('trainings')->insert(['id'=>'1220','fireStationID'=>'1200','trainingName'=>'Nabycie uprawnień do napełniania butli powietrzem','created_at'=>now(),'updated_at'=>now(),'deleted_at'=>NULL]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1111','firefighterID'=>'1101','trainingID'=>'1110','dateOfComplete'=>'2009-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1112','firefighterID'=>'1102','trainingID'=>'1110','dateOfComplete'=>'2009-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1113','firefighterID'=>'1103','trainingID'=>'1110','dateOfComplete'=>'2009-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1114','firefighterID'=>'1104','trainingID'=>'1110','dateOfComplete'=>'2009-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1115','firefighterID'=>'1105','trainingID'=>'1110','dateOfComplete'=>'2009-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1121','firefighterID'=>'1101','trainingID'=>'1120','dateOfComplete'=>'2010-02-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1122','firefighterID'=>'1102','trainingID'=>'1120','dateOfComplete'=>'2010-02-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1123','firefighterID'=>'1103','trainingID'=>'1120','dateOfComplete'=>'2010-02-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1124','firefighterID'=>'1104','trainingID'=>'1120','dateOfComplete'=>'2010-02-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1125','firefighterID'=>'1105','trainingID'=>'1120','dateOfComplete'=>'2010-02-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1211','firefighterID'=>'1201','trainingID'=>'1210','dateOfComplete'=>'2010-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1212','firefighterID'=>'1202','trainingID'=>'1210','dateOfComplete'=>'2010-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1213','firefighterID'=>'1203','trainingID'=>'1210','dateOfComplete'=>'2010-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1214','firefighterID'=>'1204','trainingID'=>'1210','dateOfComplete'=>'2010-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1215','firefighterID'=>'1205','trainingID'=>'1210','dateOfComplete'=>'2010-03-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1221','firefighterID'=>'1201','trainingID'=>'1220','dateOfComplete'=>'2009-10-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1222','firefighterID'=>'1202','trainingID'=>'1220','dateOfComplete'=>'2009-10-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1223','firefighterID'=>'1203','trainingID'=>'1220','dateOfComplete'=>'2009-10-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1224','firefighterID'=>'1204','trainingID'=>'1220','dateOfComplete'=>'2009-10-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
|
DB::table('trainingsFirefighters')->insert(['id'=>'1225','firefighterID'=>'1205','trainingID'=>'1220','dateOfComplete'=>'2009-10-01','dateOfExpiry'=>NULL,'lifetime'=>'1','created_at'=>now(),'updated_at'=>now()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user