INSERT INTO `periods` VALUES (73592,NULL,'2117-01',2117,1,'2117-01-01','2117-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73593,NULL,'2117-02',2117,2,'2117-02-01','2117-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73594,NULL,'2117-03',2117,3,'2117-03-01','2117-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73595,NULL,'2117-04',2117,4,'2117-04-01','2117-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73596,NULL,'2117-05',2117,5,'2117-05-01','2117-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73597,NULL,'2117-06',2117,6,'2117-06-01','2117-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73598,NULL,'2117-07',2117,7,'2117-07-01','2117-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73599,NULL,'2117-08',2117,8,'2117-08-01','2117-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73600,NULL,'2117-09',2117,9,'2117-09-01','2117-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73601,NULL,'2117-10',2117,10,'2117-10-01','2117-10-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73602,NULL,'2117-11',2117,11,'2117-11-01','2117-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73603,NULL,'2117-12',2117,12,'2117-12-01','2117-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73607,NULL,'2118-01',2118,1,'2118-01-01','2118-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73608,NULL,'2118-02',2118,2,'2118-02-01','2118-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73609,NULL,'2118-03',2118,3,'2118-03-01','2118-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73610,NULL,'2118-04',2118,4,'2118-04-01','2118-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73611,NULL,'2118-05',2118,5,'2118-05-01','2118-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73612,NULL,'2118-06',2118,6,'2118-06-01','2118-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73613,NULL,'2118-07',2118,7,'2118-07-01','2118-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73614,NULL,'2118-08',2118,8,'2118-08-01','2118-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73615,NULL,'2118-09',2118,9,'2118-09-01','2118-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73616,NULL,'2118-10',2118,10,'2118-10-01','2118-10-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73617,NULL,'2118-11',2118,11,'2118-11-01','2118-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73618,NULL,'2118-12',2118,12,'2118-12-01','2118-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73622,NULL,'2119-01',2119,1,'2119-01-01','2119-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73623,NULL,'2119-02',2119,2,'2119-02-01','2119-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73624,NULL,'2119-03',2119,3,'2119-03-01','2119-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73625,NULL,'2119-04',2119,4,'2119-04-01','2119-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73626,NULL,'2119-05',2119,5,'2119-05-01','2119-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73627,NULL,'2119-06',2119,6,'2119-06-01','2119-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73628,NULL,'2119-07',2119,7,'2119-07-01','2119-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73629,NULL,'2119-08',2119,8,'2119-08-01','2119-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73630,NULL,'2119-09',2119,9,'2119-09-01','2119-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73631,NULL,'2119-10',2119,10,'2119-10-01','2119-10-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73632,NULL,'2119-11',2119,11,'2119-11-01','2119-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73633,NULL,'2119-12',2119,12,'2119-12-01','2119-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73637,NULL,'2120-01',2120,1,'2120-01-01','2120-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73638,NULL,'2120-02',2120,2,'2120-02-01','2120-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73639,NULL,'2120-03',2120,3,'2120-03-01','2120-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73640,NULL,'2120-04',2120,4,'2120-04-01','2120-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73641,NULL,'2120-05',2120,5,'2120-05-01','2120-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73642,NULL,'2120-06',2120,6,'2120-06-01','2120-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73643,NULL,'2120-07',2120,7,'2120-07-01','2120-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73644,NULL,'2120-08',2120,8,'2120-08-01','2120-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73645,NULL,'2120-09',2120,9,'2120-09-01','2120-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73646,NULL,'2120-10',2120,10,'2120-10-01','2120-10-31',NULL,NULL,40768,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73647,NULL,'2120-11',2120,11,'2120-11-01','2120-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73648,NULL,'2120-12',2120,12,'2120-12-01','2120-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73652,NULL,'2121-01',2121,1,'2121-01-01','2121-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73653,NULL,'2121-02',2121,2,'2121-02-01','2121-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73654,NULL,'2121-03',2121,3,'2121-03-01','2121-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73655,NULL,'2121-04',2121,4,'2121-04-01','2121-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73656,NULL,'2121-05',2121,5,'2121-05-01','2121-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73657,NULL,'2121-06',2121,6,'2121-06-01','2121-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73658,NULL,'2121-07',2121,7,'2121-07-01','2121-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73659,NULL,'2121-08',2121,8,'2121-08-01','2121-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73660,NULL,'2121-09',2121,9,'2121-09-01','2121-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73661,NULL,'2121-10',2121,10,'2121-10-01','2121-10-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73662,NULL,'2121-11',2121,11,'2121-11-01','2121-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73663,NULL,'2121-12',2121,12,'2121-12-01','2121-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73667,NULL,'2122-01',2122,1,'2122-01-01','2122-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73668,NULL,'2122-02',2122,2,'2122-02-01','2122-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73669,NULL,'2122-03',2122,3,'2122-03-01','2122-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73670,NULL,'2122-04',2122,4,'2122-04-01','2122-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73671,NULL,'2122-05',2122,5,'2122-05-01','2122-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73672,NULL,'2122-06',2122,6,'2122-06-01','2122-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73673,NULL,'2122-07',2122,7,'2122-07-01','2122-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73674,NULL,'2122-08',2122,8,'2122-08-01','2122-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73675,NULL,'2122-09',2122,9,'2122-09-01','2122-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73676,NULL,'2122-10',2122,10,'2122-10-01','2122-10-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73677,NULL,'2122-11',2122,11,'2122-11-01','2122-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73678,NULL,'2122-12',2122,12,'2122-12-01','2122-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73682,NULL,'2123-01',2123,1,'2123-01-01','2123-01-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73683,NULL,'2123-02',2123,2,'2123-02-01','2123-02-28',NULL,NULL,40768,0,NULL,1,0,0,1),(73684,NULL,'2123-03',2123,3,'2123-03-01','2123-03-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73685,NULL,'2123-04',2123,4,'2123-04-01','2123-04-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73686,NULL,'2123-05',2123,5,'2123-05-01','2123-05-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73687,NULL,'2123-06',2123,6,'2123-06-01','2123-06-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73688,NULL,'2123-07',2123,7,'2123-07-01','2123-07-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73689,NULL,'2123-08',2123,8,'2123-08-01','2123-08-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73690,NULL,'2123-09',2123,9,'2123-09-01','2123-09-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73691,NULL,'2123-10',2123,10,'2123-10-01','2123-10-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73692,NULL,'2123-11',2123,11,'2123-11-01','2123-11-30',NULL,NULL,40768,0,NULL,1,0,0,1),(73693,NULL,'2123-12',2123,12,'2123-12-01','2123-12-31',NULL,NULL,40768,0,NULL,1,0,0,1),(73697,NULL,'2023-04',2023,4,'2023-04-01','2023-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73698,NULL,'2023-05',2023,5,'2023-05-01','2023-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73699,NULL,'2023-06',2023,6,'2023-06-01','2023-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73700,NULL,'2023-07',2023,7,'2023-07-01','2023-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73701,NULL,'2023-08',2023,8,'2023-08-01','2023-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73702,NULL,'2023-09',2023,9,'2023-09-01','2023-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73703,NULL,'2023-10',2023,10,'2023-10-01','2023-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73704,NULL,'2023-11',2023,11,'2023-11-01','2023-11-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73705,NULL,'2023-12',2023,12,'2023-12-01','2023-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73712,NULL,'2024-01',2024,1,'2024-01-01','2024-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73713,NULL,'2024-02',2024,2,'2024-02-01','2024-02-29',NULL,'2024-02-29 08:53:46',40769,0,NULL,1,0,0,1),(73714,NULL,'2024-03',2024,3,'2024-03-01','2024-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73715,NULL,'2024-04',2024,4,'2024-04-01','2024-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73716,NULL,'2024-05',2024,5,'2024-05-01','2024-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73717,NULL,'2024-06',2024,6,'2024-06-01','2024-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73718,NULL,'2024-07',2024,7,'2024-07-01','2024-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73719,NULL,'2024-08',2024,8,'2024-08-01','2024-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73720,NULL,'2024-09',2024,9,'2024-09-01','2024-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73721,NULL,'2024-10',2024,10,'2024-10-01','2024-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73722,NULL,'2024-11',2024,11,'2024-11-01','2024-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73723,NULL,'2024-12',2024,12,'2024-12-01','2024-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73727,NULL,'2025-01',2025,1,'2025-01-01','2025-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73728,NULL,'2025-02',2025,2,'2025-02-01','2025-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73729,NULL,'2025-03',2025,3,'2025-03-01','2025-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73730,NULL,'2025-04',2025,4,'2025-04-01','2025-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73731,NULL,'2025-05',2025,5,'2025-05-01','2025-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73732,NULL,'2025-06',2025,6,'2025-06-01','2025-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73733,NULL,'2025-07',2025,7,'2025-07-01','2025-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73734,NULL,'2025-08',2025,8,'2025-08-01','2025-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73735,NULL,'2025-09',2025,9,'2025-09-01','2025-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73736,NULL,'2025-10',2025,10,'2025-10-01','2025-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73737,NULL,'2025-11',2025,11,'2025-11-01','2025-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73738,NULL,'2025-12',2025,12,'2025-12-01','2025-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73742,NULL,'2026-01',2026,1,'2026-01-01','2026-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73743,NULL,'2026-02',2026,2,'2026-02-01','2026-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73744,NULL,'2026-03',2026,3,'2026-03-01','2026-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73745,NULL,'2026-04',2026,4,'2026-04-01','2026-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73746,NULL,'2026-05',2026,5,'2026-05-01','2026-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73747,NULL,'2026-06',2026,6,'2026-06-01','2026-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73748,NULL,'2026-07',2026,7,'2026-07-01','2026-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73749,NULL,'2026-08',2026,8,'2026-08-01','2026-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73750,NULL,'2026-09',2026,9,'2026-09-01','2026-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73751,NULL,'2026-10',2026,10,'2026-10-01','2026-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73752,NULL,'2026-11',2026,11,'2026-11-01','2026-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73753,NULL,'2026-12',2026,12,'2026-12-01','2026-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73757,NULL,'2027-01',2027,1,'2027-01-01','2027-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73758,NULL,'2027-02',2027,2,'2027-02-01','2027-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73759,NULL,'2027-03',2027,3,'2027-03-01','2027-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73760,NULL,'2027-04',2027,4,'2027-04-01','2027-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73761,NULL,'2027-05',2027,5,'2027-05-01','2027-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73762,NULL,'2027-06',2027,6,'2027-06-01','2027-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73763,NULL,'2027-07',2027,7,'2027-07-01','2027-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73764,NULL,'2027-08',2027,8,'2027-08-01','2027-08-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73765,NULL,'2027-09',2027,9,'2027-09-01','2027-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73766,NULL,'2027-10',2027,10,'2027-10-01','2027-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73767,NULL,'2027-11',2027,11,'2027-11-01','2027-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73768,NULL,'2027-12',2027,12,'2027-12-01','2027-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73772,NULL,'2028-01',2028,1,'2028-01-01','2028-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73773,NULL,'2028-02',2028,2,'2028-02-01','2028-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73774,NULL,'2028-03',2028,3,'2028-03-01','2028-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73775,NULL,'2028-04',2028,4,'2028-04-01','2028-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73776,NULL,'2028-05',2028,5,'2028-05-01','2028-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73777,NULL,'2028-06',2028,6,'2028-06-01','2028-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73778,NULL,'2028-07',2028,7,'2028-07-01','2028-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73779,NULL,'2028-08',2028,8,'2028-08-01','2028-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73780,NULL,'2028-09',2028,9,'2028-09-01','2028-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73781,NULL,'2028-10',2028,10,'2028-10-01','2028-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73782,NULL,'2028-11',2028,11,'2028-11-01','2028-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73783,NULL,'2028-12',2028,12,'2028-12-01','2028-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73787,NULL,'2029-01',2029,1,'2029-01-01','2029-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73788,NULL,'2029-02',2029,2,'2029-02-01','2029-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73789,NULL,'2029-03',2029,3,'2029-03-01','2029-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73790,NULL,'2029-04',2029,4,'2029-04-01','2029-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73791,NULL,'2029-05',2029,5,'2029-05-01','2029-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73792,NULL,'2029-06',2029,6,'2029-06-01','2029-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73793,NULL,'2029-07',2029,7,'2029-07-01','2029-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73794,NULL,'2029-08',2029,8,'2029-08-01','2029-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73795,NULL,'2029-09',2029,9,'2029-09-01','2029-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73796,NULL,'2029-10',2029,10,'2029-10-01','2029-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73797,NULL,'2029-11',2029,11,'2029-11-01','2029-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73798,NULL,'2029-12',2029,12,'2029-12-01','2029-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73802,NULL,'2030-01',2030,1,'2030-01-01','2030-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73803,NULL,'2030-02',2030,2,'2030-02-01','2030-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73804,NULL,'2030-03',2030,3,'2030-03-01','2030-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73805,NULL,'2030-04',2030,4,'2030-04-01','2030-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73806,NULL,'2030-05',2030,5,'2030-05-01','2030-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73807,NULL,'2030-06',2030,6,'2030-06-01','2030-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73808,NULL,'2030-07',2030,7,'2030-07-01','2030-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73809,NULL,'2030-08',2030,8,'2030-08-01','2030-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73810,NULL,'2030-09',2030,9,'2030-09-01','2030-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73811,NULL,'2030-10',2030,10,'2030-10-01','2030-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73812,NULL,'2030-11',2030,11,'2030-11-01','2030-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73813,NULL,'2030-12',2030,12,'2030-12-01','2030-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73817,NULL,'2031-01',2031,1,'2031-01-01','2031-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73818,NULL,'2031-02',2031,2,'2031-02-01','2031-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73819,NULL,'2031-03',2031,3,'2031-03-01','2031-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73820,NULL,'2031-04',2031,4,'2031-04-01','2031-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73821,NULL,'2031-05',2031,5,'2031-05-01','2031-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73822,NULL,'2031-06',2031,6,'2031-06-01','2031-06-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73823,NULL,'2031-07',2031,7,'2031-07-01','2031-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73824,NULL,'2031-08',2031,8,'2031-08-01','2031-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73825,NULL,'2031-09',2031,9,'2031-09-01','2031-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73826,NULL,'2031-10',2031,10,'2031-10-01','2031-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73827,NULL,'2031-11',2031,11,'2031-11-01','2031-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73828,NULL,'2031-12',2031,12,'2031-12-01','2031-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73832,NULL,'2032-01',2032,1,'2032-01-01','2032-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73833,NULL,'2032-02',2032,2,'2032-02-01','2032-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73834,NULL,'2032-03',2032,3,'2032-03-01','2032-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73835,NULL,'2032-04',2032,4,'2032-04-01','2032-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73836,NULL,'2032-05',2032,5,'2032-05-01','2032-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73837,NULL,'2032-06',2032,6,'2032-06-01','2032-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73838,NULL,'2032-07',2032,7,'2032-07-01','2032-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73839,NULL,'2032-08',2032,8,'2032-08-01','2032-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73840,NULL,'2032-09',2032,9,'2032-09-01','2032-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73841,NULL,'2032-10',2032,10,'2032-10-01','2032-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73842,NULL,'2032-11',2032,11,'2032-11-01','2032-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73843,NULL,'2032-12',2032,12,'2032-12-01','2032-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73847,NULL,'2033-01',2033,1,'2033-01-01','2033-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73848,NULL,'2033-02',2033,2,'2033-02-01','2033-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73849,NULL,'2033-03',2033,3,'2033-03-01','2033-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73850,NULL,'2033-04',2033,4,'2033-04-01','2033-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73851,NULL,'2033-05',2033,5,'2033-05-01','2033-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73852,NULL,'2033-06',2033,6,'2033-06-01','2033-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73853,NULL,'2033-07',2033,7,'2033-07-01','2033-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73854,NULL,'2033-08',2033,8,'2033-08-01','2033-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73855,NULL,'2033-09',2033,9,'2033-09-01','2033-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73856,NULL,'2033-10',2033,10,'2033-10-01','2033-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73857,NULL,'2033-11',2033,11,'2033-11-01','2033-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73858,NULL,'2033-12',2033,12,'2033-12-01','2033-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73862,NULL,'2034-01',2034,1,'2034-01-01','2034-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73863,NULL,'2034-02',2034,2,'2034-02-01','2034-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73864,NULL,'2034-03',2034,3,'2034-03-01','2034-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73865,NULL,'2034-04',2034,4,'2034-04-01','2034-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73866,NULL,'2034-05',2034,5,'2034-05-01','2034-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73867,NULL,'2034-06',2034,6,'2034-06-01','2034-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73868,NULL,'2034-07',2034,7,'2034-07-01','2034-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73869,NULL,'2034-08',2034,8,'2034-08-01','2034-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73870,NULL,'2034-09',2034,9,'2034-09-01','2034-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73871,NULL,'2034-10',2034,10,'2034-10-01','2034-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73872,NULL,'2034-11',2034,11,'2034-11-01','2034-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73873,NULL,'2034-12',2034,12,'2034-12-01','2034-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73877,NULL,'2035-01',2035,1,'2035-01-01','2035-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73878,NULL,'2035-02',2035,2,'2035-02-01','2035-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73879,NULL,'2035-03',2035,3,'2035-03-01','2035-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73880,NULL,'2035-04',2035,4,'2035-04-01','2035-04-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73881,NULL,'2035-05',2035,5,'2035-05-01','2035-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73882,NULL,'2035-06',2035,6,'2035-06-01','2035-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73883,NULL,'2035-07',2035,7,'2035-07-01','2035-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73884,NULL,'2035-08',2035,8,'2035-08-01','2035-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73885,NULL,'2035-09',2035,9,'2035-09-01','2035-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73886,NULL,'2035-10',2035,10,'2035-10-01','2035-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73887,NULL,'2035-11',2035,11,'2035-11-01','2035-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73888,NULL,'2035-12',2035,12,'2035-12-01','2035-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73892,NULL,'2036-01',2036,1,'2036-01-01','2036-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73893,NULL,'2036-02',2036,2,'2036-02-01','2036-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73894,NULL,'2036-03',2036,3,'2036-03-01','2036-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73895,NULL,'2036-04',2036,4,'2036-04-01','2036-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73896,NULL,'2036-05',2036,5,'2036-05-01','2036-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73897,NULL,'2036-06',2036,6,'2036-06-01','2036-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73898,NULL,'2036-07',2036,7,'2036-07-01','2036-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73899,NULL,'2036-08',2036,8,'2036-08-01','2036-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73900,NULL,'2036-09',2036,9,'2036-09-01','2036-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73901,NULL,'2036-10',2036,10,'2036-10-01','2036-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73902,NULL,'2036-11',2036,11,'2036-11-01','2036-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73903,NULL,'2036-12',2036,12,'2036-12-01','2036-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73907,NULL,'2037-01',2037,1,'2037-01-01','2037-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73908,NULL,'2037-02',2037,2,'2037-02-01','2037-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73909,NULL,'2037-03',2037,3,'2037-03-01','2037-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73910,NULL,'2037-04',2037,4,'2037-04-01','2037-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73911,NULL,'2037-05',2037,5,'2037-05-01','2037-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73912,NULL,'2037-06',2037,6,'2037-06-01','2037-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73913,NULL,'2037-07',2037,7,'2037-07-01','2037-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73914,NULL,'2037-08',2037,8,'2037-08-01','2037-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73915,NULL,'2037-09',2037,9,'2037-09-01','2037-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73916,NULL,'2037-10',2037,10,'2037-10-01','2037-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73917,NULL,'2037-11',2037,11,'2037-11-01','2037-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73918,NULL,'2037-12',2037,12,'2037-12-01','2037-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73922,NULL,'2038-01',2038,1,'2038-01-01','2038-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73923,NULL,'2038-02',2038,2,'2038-02-01','2038-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73924,NULL,'2038-03',2038,3,'2038-03-01','2038-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73925,NULL,'2038-04',2038,4,'2038-04-01','2038-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73926,NULL,'2038-05',2038,5,'2038-05-01','2038-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73927,NULL,'2038-06',2038,6,'2038-06-01','2038-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73928,NULL,'2038-07',2038,7,'2038-07-01','2038-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73929,NULL,'2038-08',2038,8,'2038-08-01','2038-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73930,NULL,'2038-09',2038,9,'2038-09-01','2038-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73931,NULL,'2038-10',2038,10,'2038-10-01','2038-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73932,NULL,'2038-11',2038,11,'2038-11-01','2038-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73933,NULL,'2038-12',2038,12,'2038-12-01','2038-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73937,NULL,'2039-01',2039,1,'2039-01-01','2039-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73938,NULL,'2039-02',2039,2,'2039-02-01','2039-02-28',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73939,NULL,'2039-03',2039,3,'2039-03-01','2039-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73940,NULL,'2039-04',2039,4,'2039-04-01','2039-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73941,NULL,'2039-05',2039,5,'2039-05-01','2039-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73942,NULL,'2039-06',2039,6,'2039-06-01','2039-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73943,NULL,'2039-07',2039,7,'2039-07-01','2039-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73944,NULL,'2039-08',2039,8,'2039-08-01','2039-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73945,NULL,'2039-09',2039,9,'2039-09-01','2039-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73946,NULL,'2039-10',2039,10,'2039-10-01','2039-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73947,NULL,'2039-11',2039,11,'2039-11-01','2039-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73948,NULL,'2039-12',2039,12,'2039-12-01','2039-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73952,NULL,'2040-01',2040,1,'2040-01-01','2040-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73953,NULL,'2040-02',2040,2,'2040-02-01','2040-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73954,NULL,'2040-03',2040,3,'2040-03-01','2040-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73955,NULL,'2040-04',2040,4,'2040-04-01','2040-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73956,NULL,'2040-05',2040,5,'2040-05-01','2040-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73957,NULL,'2040-06',2040,6,'2040-06-01','2040-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73958,NULL,'2040-07',2040,7,'2040-07-01','2040-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73959,NULL,'2040-08',2040,8,'2040-08-01','2040-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73960,NULL,'2040-09',2040,9,'2040-09-01','2040-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73961,NULL,'2040-10',2040,10,'2040-10-01','2040-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73962,NULL,'2040-11',2040,11,'2040-11-01','2040-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73963,NULL,'2040-12',2040,12,'2040-12-01','2040-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73967,NULL,'2041-01',2041,1,'2041-01-01','2041-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73968,NULL,'2041-02',2041,2,'2041-02-01','2041-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73969,NULL,'2041-03',2041,3,'2041-03-01','2041-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73970,NULL,'2041-04',2041,4,'2041-04-01','2041-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73971,NULL,'2041-05',2041,5,'2041-05-01','2041-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73972,NULL,'2041-06',2041,6,'2041-06-01','2041-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73973,NULL,'2041-07',2041,7,'2041-07-01','2041-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73974,NULL,'2041-08',2041,8,'2041-08-01','2041-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73975,NULL,'2041-09',2041,9,'2041-09-01','2041-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73976,NULL,'2041-10',2041,10,'2041-10-01','2041-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73977,NULL,'2041-11',2041,11,'2041-11-01','2041-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73978,NULL,'2041-12',2041,12,'2041-12-01','2041-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73982,NULL,'2042-01',2042,1,'2042-01-01','2042-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73983,NULL,'2042-02',2042,2,'2042-02-01','2042-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73984,NULL,'2042-03',2042,3,'2042-03-01','2042-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73985,NULL,'2042-04',2042,4,'2042-04-01','2042-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73986,NULL,'2042-05',2042,5,'2042-05-01','2042-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73987,NULL,'2042-06',2042,6,'2042-06-01','2042-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73988,NULL,'2042-07',2042,7,'2042-07-01','2042-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73989,NULL,'2042-08',2042,8,'2042-08-01','2042-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73990,NULL,'2042-09',2042,9,'2042-09-01','2042-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73991,NULL,'2042-10',2042,10,'2042-10-01','2042-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73992,NULL,'2042-11',2042,11,'2042-11-01','2042-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(73993,NULL,'2042-12',2042,12,'2042-12-01','2042-12-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (73997,NULL,'2043-01',2043,1,'2043-01-01','2043-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(73998,NULL,'2043-02',2043,2,'2043-02-01','2043-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(73999,NULL,'2043-03',2043,3,'2043-03-01','2043-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74000,NULL,'2043-04',2043,4,'2043-04-01','2043-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74001,NULL,'2043-05',2043,5,'2043-05-01','2043-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74002,NULL,'2043-06',2043,6,'2043-06-01','2043-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74003,NULL,'2043-07',2043,7,'2043-07-01','2043-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74004,NULL,'2043-08',2043,8,'2043-08-01','2043-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74005,NULL,'2043-09',2043,9,'2043-09-01','2043-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74006,NULL,'2043-10',2043,10,'2043-10-01','2043-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74007,NULL,'2043-11',2043,11,'2043-11-01','2043-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74008,NULL,'2043-12',2043,12,'2043-12-01','2043-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74012,NULL,'2044-01',2044,1,'2044-01-01','2044-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74013,NULL,'2044-02',2044,2,'2044-02-01','2044-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74014,NULL,'2044-03',2044,3,'2044-03-01','2044-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74015,NULL,'2044-04',2044,4,'2044-04-01','2044-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74016,NULL,'2044-05',2044,5,'2044-05-01','2044-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74017,NULL,'2044-06',2044,6,'2044-06-01','2044-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74018,NULL,'2044-07',2044,7,'2044-07-01','2044-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74019,NULL,'2044-08',2044,8,'2044-08-01','2044-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74020,NULL,'2044-09',2044,9,'2044-09-01','2044-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74021,NULL,'2044-10',2044,10,'2044-10-01','2044-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74022,NULL,'2044-11',2044,11,'2044-11-01','2044-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74023,NULL,'2044-12',2044,12,'2044-12-01','2044-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74027,NULL,'2045-01',2045,1,'2045-01-01','2045-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74028,NULL,'2045-02',2045,2,'2045-02-01','2045-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74029,NULL,'2045-03',2045,3,'2045-03-01','2045-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74030,NULL,'2045-04',2045,4,'2045-04-01','2045-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74031,NULL,'2045-05',2045,5,'2045-05-01','2045-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74032,NULL,'2045-06',2045,6,'2045-06-01','2045-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74033,NULL,'2045-07',2045,7,'2045-07-01','2045-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74034,NULL,'2045-08',2045,8,'2045-08-01','2045-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74035,NULL,'2045-09',2045,9,'2045-09-01','2045-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74036,NULL,'2045-10',2045,10,'2045-10-01','2045-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74037,NULL,'2045-11',2045,11,'2045-11-01','2045-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74038,NULL,'2045-12',2045,12,'2045-12-01','2045-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74042,NULL,'2046-01',2046,1,'2046-01-01','2046-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74043,NULL,'2046-02',2046,2,'2046-02-01','2046-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74044,NULL,'2046-03',2046,3,'2046-03-01','2046-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74045,NULL,'2046-04',2046,4,'2046-04-01','2046-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74046,NULL,'2046-05',2046,5,'2046-05-01','2046-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74047,NULL,'2046-06',2046,6,'2046-06-01','2046-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74048,NULL,'2046-07',2046,7,'2046-07-01','2046-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74049,NULL,'2046-08',2046,8,'2046-08-01','2046-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74050,NULL,'2046-09',2046,9,'2046-09-01','2046-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74051,NULL,'2046-10',2046,10,'2046-10-01','2046-10-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74052,NULL,'2046-11',2046,11,'2046-11-01','2046-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74053,NULL,'2046-12',2046,12,'2046-12-01','2046-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74057,NULL,'2047-01',2047,1,'2047-01-01','2047-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74058,NULL,'2047-02',2047,2,'2047-02-01','2047-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74059,NULL,'2047-03',2047,3,'2047-03-01','2047-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74060,NULL,'2047-04',2047,4,'2047-04-01','2047-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74061,NULL,'2047-05',2047,5,'2047-05-01','2047-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74062,NULL,'2047-06',2047,6,'2047-06-01','2047-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74063,NULL,'2047-07',2047,7,'2047-07-01','2047-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74064,NULL,'2047-08',2047,8,'2047-08-01','2047-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74065,NULL,'2047-09',2047,9,'2047-09-01','2047-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74066,NULL,'2047-10',2047,10,'2047-10-01','2047-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74067,NULL,'2047-11',2047,11,'2047-11-01','2047-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74068,NULL,'2047-12',2047,12,'2047-12-01','2047-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74072,NULL,'2048-01',2048,1,'2048-01-01','2048-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74073,NULL,'2048-02',2048,2,'2048-02-01','2048-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74074,NULL,'2048-03',2048,3,'2048-03-01','2048-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74075,NULL,'2048-04',2048,4,'2048-04-01','2048-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74076,NULL,'2048-05',2048,5,'2048-05-01','2048-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74077,NULL,'2048-06',2048,6,'2048-06-01','2048-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74078,NULL,'2048-07',2048,7,'2048-07-01','2048-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74079,NULL,'2048-08',2048,8,'2048-08-01','2048-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74080,NULL,'2048-09',2048,9,'2048-09-01','2048-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74081,NULL,'2048-10',2048,10,'2048-10-01','2048-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74082,NULL,'2048-11',2048,11,'2048-11-01','2048-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74083,NULL,'2048-12',2048,12,'2048-12-01','2048-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74087,NULL,'2049-01',2049,1,'2049-01-01','2049-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74088,NULL,'2049-02',2049,2,'2049-02-01','2049-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74089,NULL,'2049-03',2049,3,'2049-03-01','2049-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74090,NULL,'2049-04',2049,4,'2049-04-01','2049-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74091,NULL,'2049-05',2049,5,'2049-05-01','2049-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74092,NULL,'2049-06',2049,6,'2049-06-01','2049-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74093,NULL,'2049-07',2049,7,'2049-07-01','2049-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74094,NULL,'2049-08',2049,8,'2049-08-01','2049-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74095,NULL,'2049-09',2049,9,'2049-09-01','2049-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74096,NULL,'2049-10',2049,10,'2049-10-01','2049-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74097,NULL,'2049-11',2049,11,'2049-11-01','2049-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74098,NULL,'2049-12',2049,12,'2049-12-01','2049-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74102,NULL,'2050-01',2050,1,'2050-01-01','2050-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74103,NULL,'2050-02',2050,2,'2050-02-01','2050-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74104,NULL,'2050-03',2050,3,'2050-03-01','2050-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74105,NULL,'2050-04',2050,4,'2050-04-01','2050-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74106,NULL,'2050-05',2050,5,'2050-05-01','2050-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74107,NULL,'2050-06',2050,6,'2050-06-01','2050-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74108,NULL,'2050-07',2050,7,'2050-07-01','2050-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74109,NULL,'2050-08',2050,8,'2050-08-01','2050-08-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74110,NULL,'2050-09',2050,9,'2050-09-01','2050-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74111,NULL,'2050-10',2050,10,'2050-10-01','2050-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74112,NULL,'2050-11',2050,11,'2050-11-01','2050-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74113,NULL,'2050-12',2050,12,'2050-12-01','2050-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74117,NULL,'2051-01',2051,1,'2051-01-01','2051-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74118,NULL,'2051-02',2051,2,'2051-02-01','2051-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74119,NULL,'2051-03',2051,3,'2051-03-01','2051-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74120,NULL,'2051-04',2051,4,'2051-04-01','2051-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74121,NULL,'2051-05',2051,5,'2051-05-01','2051-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74122,NULL,'2051-06',2051,6,'2051-06-01','2051-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74123,NULL,'2051-07',2051,7,'2051-07-01','2051-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74124,NULL,'2051-08',2051,8,'2051-08-01','2051-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74125,NULL,'2051-09',2051,9,'2051-09-01','2051-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74126,NULL,'2051-10',2051,10,'2051-10-01','2051-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74127,NULL,'2051-11',2051,11,'2051-11-01','2051-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74128,NULL,'2051-12',2051,12,'2051-12-01','2051-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74132,NULL,'2052-01',2052,1,'2052-01-01','2052-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74133,NULL,'2052-02',2052,2,'2052-02-01','2052-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74134,NULL,'2052-03',2052,3,'2052-03-01','2052-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74135,NULL,'2052-04',2052,4,'2052-04-01','2052-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74136,NULL,'2052-05',2052,5,'2052-05-01','2052-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74137,NULL,'2052-06',2052,6,'2052-06-01','2052-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74138,NULL,'2052-07',2052,7,'2052-07-01','2052-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74139,NULL,'2052-08',2052,8,'2052-08-01','2052-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74140,NULL,'2052-09',2052,9,'2052-09-01','2052-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74141,NULL,'2052-10',2052,10,'2052-10-01','2052-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74142,NULL,'2052-11',2052,11,'2052-11-01','2052-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74143,NULL,'2052-12',2052,12,'2052-12-01','2052-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74147,NULL,'2053-01',2053,1,'2053-01-01','2053-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74148,NULL,'2053-02',2053,2,'2053-02-01','2053-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74149,NULL,'2053-03',2053,3,'2053-03-01','2053-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74150,NULL,'2053-04',2053,4,'2053-04-01','2053-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74151,NULL,'2053-05',2053,5,'2053-05-01','2053-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74152,NULL,'2053-06',2053,6,'2053-06-01','2053-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74153,NULL,'2053-07',2053,7,'2053-07-01','2053-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74154,NULL,'2053-08',2053,8,'2053-08-01','2053-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74155,NULL,'2053-09',2053,9,'2053-09-01','2053-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74156,NULL,'2053-10',2053,10,'2053-10-01','2053-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74157,NULL,'2053-11',2053,11,'2053-11-01','2053-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74158,NULL,'2053-12',2053,12,'2053-12-01','2053-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74162,NULL,'2054-01',2054,1,'2054-01-01','2054-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74163,NULL,'2054-02',2054,2,'2054-02-01','2054-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74164,NULL,'2054-03',2054,3,'2054-03-01','2054-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74165,NULL,'2054-04',2054,4,'2054-04-01','2054-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74166,NULL,'2054-05',2054,5,'2054-05-01','2054-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74167,NULL,'2054-06',2054,6,'2054-06-01','2054-06-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74168,NULL,'2054-07',2054,7,'2054-07-01','2054-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74169,NULL,'2054-08',2054,8,'2054-08-01','2054-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74170,NULL,'2054-09',2054,9,'2054-09-01','2054-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74171,NULL,'2054-10',2054,10,'2054-10-01','2054-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74172,NULL,'2054-11',2054,11,'2054-11-01','2054-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74173,NULL,'2054-12',2054,12,'2054-12-01','2054-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74177,NULL,'2055-01',2055,1,'2055-01-01','2055-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74178,NULL,'2055-02',2055,2,'2055-02-01','2055-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74179,NULL,'2055-03',2055,3,'2055-03-01','2055-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74180,NULL,'2055-04',2055,4,'2055-04-01','2055-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74181,NULL,'2055-05',2055,5,'2055-05-01','2055-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74182,NULL,'2055-06',2055,6,'2055-06-01','2055-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74183,NULL,'2055-07',2055,7,'2055-07-01','2055-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74184,NULL,'2055-08',2055,8,'2055-08-01','2055-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74185,NULL,'2055-09',2055,9,'2055-09-01','2055-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74186,NULL,'2055-10',2055,10,'2055-10-01','2055-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74187,NULL,'2055-11',2055,11,'2055-11-01','2055-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74188,NULL,'2055-12',2055,12,'2055-12-01','2055-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74192,NULL,'2056-01',2056,1,'2056-01-01','2056-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74193,NULL,'2056-02',2056,2,'2056-02-01','2056-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74194,NULL,'2056-03',2056,3,'2056-03-01','2056-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74195,NULL,'2056-04',2056,4,'2056-04-01','2056-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74196,NULL,'2056-05',2056,5,'2056-05-01','2056-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74197,NULL,'2056-06',2056,6,'2056-06-01','2056-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74198,NULL,'2056-07',2056,7,'2056-07-01','2056-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74199,NULL,'2056-08',2056,8,'2056-08-01','2056-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74200,NULL,'2056-09',2056,9,'2056-09-01','2056-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74201,NULL,'2056-10',2056,10,'2056-10-01','2056-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74202,NULL,'2056-11',2056,11,'2056-11-01','2056-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74203,NULL,'2056-12',2056,12,'2056-12-01','2056-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74207,NULL,'2057-01',2057,1,'2057-01-01','2057-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74208,NULL,'2057-02',2057,2,'2057-02-01','2057-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74209,NULL,'2057-03',2057,3,'2057-03-01','2057-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74210,NULL,'2057-04',2057,4,'2057-04-01','2057-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74211,NULL,'2057-05',2057,5,'2057-05-01','2057-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74212,NULL,'2057-06',2057,6,'2057-06-01','2057-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74213,NULL,'2057-07',2057,7,'2057-07-01','2057-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74214,NULL,'2057-08',2057,8,'2057-08-01','2057-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74215,NULL,'2057-09',2057,9,'2057-09-01','2057-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74216,NULL,'2057-10',2057,10,'2057-10-01','2057-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74217,NULL,'2057-11',2057,11,'2057-11-01','2057-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74218,NULL,'2057-12',2057,12,'2057-12-01','2057-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74222,NULL,'2058-01',2058,1,'2058-01-01','2058-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74223,NULL,'2058-02',2058,2,'2058-02-01','2058-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74224,NULL,'2058-03',2058,3,'2058-03-01','2058-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74225,NULL,'2058-04',2058,4,'2058-04-01','2058-04-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74226,NULL,'2058-05',2058,5,'2058-05-01','2058-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74227,NULL,'2058-06',2058,6,'2058-06-01','2058-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74228,NULL,'2058-07',2058,7,'2058-07-01','2058-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74229,NULL,'2058-08',2058,8,'2058-08-01','2058-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74230,NULL,'2058-09',2058,9,'2058-09-01','2058-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74231,NULL,'2058-10',2058,10,'2058-10-01','2058-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74232,NULL,'2058-11',2058,11,'2058-11-01','2058-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74233,NULL,'2058-12',2058,12,'2058-12-01','2058-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74237,NULL,'2059-01',2059,1,'2059-01-01','2059-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74238,NULL,'2059-02',2059,2,'2059-02-01','2059-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74239,NULL,'2059-03',2059,3,'2059-03-01','2059-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74240,NULL,'2059-04',2059,4,'2059-04-01','2059-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74241,NULL,'2059-05',2059,5,'2059-05-01','2059-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74242,NULL,'2059-06',2059,6,'2059-06-01','2059-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74243,NULL,'2059-07',2059,7,'2059-07-01','2059-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74244,NULL,'2059-08',2059,8,'2059-08-01','2059-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74245,NULL,'2059-09',2059,9,'2059-09-01','2059-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74246,NULL,'2059-10',2059,10,'2059-10-01','2059-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74247,NULL,'2059-11',2059,11,'2059-11-01','2059-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74248,NULL,'2059-12',2059,12,'2059-12-01','2059-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74252,NULL,'2060-01',2060,1,'2060-01-01','2060-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74253,NULL,'2060-02',2060,2,'2060-02-01','2060-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74254,NULL,'2060-03',2060,3,'2060-03-01','2060-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74255,NULL,'2060-04',2060,4,'2060-04-01','2060-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74256,NULL,'2060-05',2060,5,'2060-05-01','2060-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74257,NULL,'2060-06',2060,6,'2060-06-01','2060-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74258,NULL,'2060-07',2060,7,'2060-07-01','2060-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74259,NULL,'2060-08',2060,8,'2060-08-01','2060-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74260,NULL,'2060-09',2060,9,'2060-09-01','2060-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74261,NULL,'2060-10',2060,10,'2060-10-01','2060-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74262,NULL,'2060-11',2060,11,'2060-11-01','2060-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74263,NULL,'2060-12',2060,12,'2060-12-01','2060-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74267,NULL,'2061-01',2061,1,'2061-01-01','2061-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74268,NULL,'2061-02',2061,2,'2061-02-01','2061-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74269,NULL,'2061-03',2061,3,'2061-03-01','2061-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74270,NULL,'2061-04',2061,4,'2061-04-01','2061-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74271,NULL,'2061-05',2061,5,'2061-05-01','2061-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74272,NULL,'2061-06',2061,6,'2061-06-01','2061-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74273,NULL,'2061-07',2061,7,'2061-07-01','2061-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74274,NULL,'2061-08',2061,8,'2061-08-01','2061-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74275,NULL,'2061-09',2061,9,'2061-09-01','2061-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74276,NULL,'2061-10',2061,10,'2061-10-01','2061-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74277,NULL,'2061-11',2061,11,'2061-11-01','2061-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74278,NULL,'2061-12',2061,12,'2061-12-01','2061-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74282,NULL,'2062-01',2062,1,'2062-01-01','2062-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74283,NULL,'2062-02',2062,2,'2062-02-01','2062-02-28',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74284,NULL,'2062-03',2062,3,'2062-03-01','2062-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74285,NULL,'2062-04',2062,4,'2062-04-01','2062-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74286,NULL,'2062-05',2062,5,'2062-05-01','2062-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74287,NULL,'2062-06',2062,6,'2062-06-01','2062-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74288,NULL,'2062-07',2062,7,'2062-07-01','2062-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74289,NULL,'2062-08',2062,8,'2062-08-01','2062-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74290,NULL,'2062-09',2062,9,'2062-09-01','2062-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74291,NULL,'2062-10',2062,10,'2062-10-01','2062-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74292,NULL,'2062-11',2062,11,'2062-11-01','2062-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74293,NULL,'2062-12',2062,12,'2062-12-01','2062-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74297,NULL,'2063-01',2063,1,'2063-01-01','2063-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74298,NULL,'2063-02',2063,2,'2063-02-01','2063-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74299,NULL,'2063-03',2063,3,'2063-03-01','2063-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74300,NULL,'2063-04',2063,4,'2063-04-01','2063-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74301,NULL,'2063-05',2063,5,'2063-05-01','2063-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74302,NULL,'2063-06',2063,6,'2063-06-01','2063-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74303,NULL,'2063-07',2063,7,'2063-07-01','2063-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74304,NULL,'2063-08',2063,8,'2063-08-01','2063-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74305,NULL,'2063-09',2063,9,'2063-09-01','2063-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74306,NULL,'2063-10',2063,10,'2063-10-01','2063-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74307,NULL,'2063-11',2063,11,'2063-11-01','2063-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74308,NULL,'2063-12',2063,12,'2063-12-01','2063-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74312,NULL,'2064-01',2064,1,'2064-01-01','2064-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74313,NULL,'2064-02',2064,2,'2064-02-01','2064-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74314,NULL,'2064-03',2064,3,'2064-03-01','2064-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74315,NULL,'2064-04',2064,4,'2064-04-01','2064-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74316,NULL,'2064-05',2064,5,'2064-05-01','2064-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74317,NULL,'2064-06',2064,6,'2064-06-01','2064-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74318,NULL,'2064-07',2064,7,'2064-07-01','2064-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74319,NULL,'2064-08',2064,8,'2064-08-01','2064-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74320,NULL,'2064-09',2064,9,'2064-09-01','2064-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74321,NULL,'2064-10',2064,10,'2064-10-01','2064-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74322,NULL,'2064-11',2064,11,'2064-11-01','2064-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74323,NULL,'2064-12',2064,12,'2064-12-01','2064-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74327,NULL,'2065-01',2065,1,'2065-01-01','2065-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74328,NULL,'2065-02',2065,2,'2065-02-01','2065-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74329,NULL,'2065-03',2065,3,'2065-03-01','2065-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74330,NULL,'2065-04',2065,4,'2065-04-01','2065-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74331,NULL,'2065-05',2065,5,'2065-05-01','2065-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74332,NULL,'2065-06',2065,6,'2065-06-01','2065-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74333,NULL,'2065-07',2065,7,'2065-07-01','2065-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74334,NULL,'2065-08',2065,8,'2065-08-01','2065-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74335,NULL,'2065-09',2065,9,'2065-09-01','2065-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74336,NULL,'2065-10',2065,10,'2065-10-01','2065-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74337,NULL,'2065-11',2065,11,'2065-11-01','2065-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74338,NULL,'2065-12',2065,12,'2065-12-01','2065-12-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74342,NULL,'2066-01',2066,1,'2066-01-01','2066-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74343,NULL,'2066-02',2066,2,'2066-02-01','2066-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74344,NULL,'2066-03',2066,3,'2066-03-01','2066-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74345,NULL,'2066-04',2066,4,'2066-04-01','2066-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74346,NULL,'2066-05',2066,5,'2066-05-01','2066-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74347,NULL,'2066-06',2066,6,'2066-06-01','2066-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74348,NULL,'2066-07',2066,7,'2066-07-01','2066-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74349,NULL,'2066-08',2066,8,'2066-08-01','2066-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74350,NULL,'2066-09',2066,9,'2066-09-01','2066-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74351,NULL,'2066-10',2066,10,'2066-10-01','2066-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74352,NULL,'2066-11',2066,11,'2066-11-01','2066-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74353,NULL,'2066-12',2066,12,'2066-12-01','2066-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74357,NULL,'2067-01',2067,1,'2067-01-01','2067-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74358,NULL,'2067-02',2067,2,'2067-02-01','2067-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74359,NULL,'2067-03',2067,3,'2067-03-01','2067-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74360,NULL,'2067-04',2067,4,'2067-04-01','2067-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74361,NULL,'2067-05',2067,5,'2067-05-01','2067-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74362,NULL,'2067-06',2067,6,'2067-06-01','2067-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74363,NULL,'2067-07',2067,7,'2067-07-01','2067-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74364,NULL,'2067-08',2067,8,'2067-08-01','2067-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74365,NULL,'2067-09',2067,9,'2067-09-01','2067-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74366,NULL,'2067-10',2067,10,'2067-10-01','2067-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74367,NULL,'2067-11',2067,11,'2067-11-01','2067-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74368,NULL,'2067-12',2067,12,'2067-12-01','2067-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74372,NULL,'2068-01',2068,1,'2068-01-01','2068-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74373,NULL,'2068-02',2068,2,'2068-02-01','2068-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74374,NULL,'2068-03',2068,3,'2068-03-01','2068-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74375,NULL,'2068-04',2068,4,'2068-04-01','2068-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74376,NULL,'2068-05',2068,5,'2068-05-01','2068-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74377,NULL,'2068-06',2068,6,'2068-06-01','2068-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74378,NULL,'2068-07',2068,7,'2068-07-01','2068-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74379,NULL,'2068-08',2068,8,'2068-08-01','2068-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74380,NULL,'2068-09',2068,9,'2068-09-01','2068-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74381,NULL,'2068-10',2068,10,'2068-10-01','2068-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74382,NULL,'2068-11',2068,11,'2068-11-01','2068-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74383,NULL,'2068-12',2068,12,'2068-12-01','2068-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74387,NULL,'2069-01',2069,1,'2069-01-01','2069-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74388,NULL,'2069-02',2069,2,'2069-02-01','2069-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74389,NULL,'2069-03',2069,3,'2069-03-01','2069-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74390,NULL,'2069-04',2069,4,'2069-04-01','2069-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74391,NULL,'2069-05',2069,5,'2069-05-01','2069-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74392,NULL,'2069-06',2069,6,'2069-06-01','2069-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74393,NULL,'2069-07',2069,7,'2069-07-01','2069-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74394,NULL,'2069-08',2069,8,'2069-08-01','2069-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74395,NULL,'2069-09',2069,9,'2069-09-01','2069-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74396,NULL,'2069-10',2069,10,'2069-10-01','2069-10-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74397,NULL,'2069-11',2069,11,'2069-11-01','2069-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74398,NULL,'2069-12',2069,12,'2069-12-01','2069-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74402,NULL,'2070-01',2070,1,'2070-01-01','2070-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74403,NULL,'2070-02',2070,2,'2070-02-01','2070-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74404,NULL,'2070-03',2070,3,'2070-03-01','2070-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74405,NULL,'2070-04',2070,4,'2070-04-01','2070-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74406,NULL,'2070-05',2070,5,'2070-05-01','2070-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74407,NULL,'2070-06',2070,6,'2070-06-01','2070-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74408,NULL,'2070-07',2070,7,'2070-07-01','2070-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74409,NULL,'2070-08',2070,8,'2070-08-01','2070-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74410,NULL,'2070-09',2070,9,'2070-09-01','2070-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74411,NULL,'2070-10',2070,10,'2070-10-01','2070-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74412,NULL,'2070-11',2070,11,'2070-11-01','2070-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74413,NULL,'2070-12',2070,12,'2070-12-01','2070-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74417,NULL,'2071-01',2071,1,'2071-01-01','2071-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74418,NULL,'2071-02',2071,2,'2071-02-01','2071-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74419,NULL,'2071-03',2071,3,'2071-03-01','2071-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74420,NULL,'2071-04',2071,4,'2071-04-01','2071-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74421,NULL,'2071-05',2071,5,'2071-05-01','2071-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74422,NULL,'2071-06',2071,6,'2071-06-01','2071-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74423,NULL,'2071-07',2071,7,'2071-07-01','2071-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74424,NULL,'2071-08',2071,8,'2071-08-01','2071-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74425,NULL,'2071-09',2071,9,'2071-09-01','2071-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74426,NULL,'2071-10',2071,10,'2071-10-01','2071-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74427,NULL,'2071-11',2071,11,'2071-11-01','2071-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74428,NULL,'2071-12',2071,12,'2071-12-01','2071-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74432,NULL,'2072-01',2072,1,'2072-01-01','2072-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74433,NULL,'2072-02',2072,2,'2072-02-01','2072-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74434,NULL,'2072-03',2072,3,'2072-03-01','2072-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74435,NULL,'2072-04',2072,4,'2072-04-01','2072-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74436,NULL,'2072-05',2072,5,'2072-05-01','2072-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74437,NULL,'2072-06',2072,6,'2072-06-01','2072-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74438,NULL,'2072-07',2072,7,'2072-07-01','2072-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74439,NULL,'2072-08',2072,8,'2072-08-01','2072-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74440,NULL,'2072-09',2072,9,'2072-09-01','2072-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74441,NULL,'2072-10',2072,10,'2072-10-01','2072-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74442,NULL,'2072-11',2072,11,'2072-11-01','2072-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74443,NULL,'2072-12',2072,12,'2072-12-01','2072-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74447,NULL,'2073-01',2073,1,'2073-01-01','2073-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74448,NULL,'2073-02',2073,2,'2073-02-01','2073-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74449,NULL,'2073-03',2073,3,'2073-03-01','2073-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74450,NULL,'2073-04',2073,4,'2073-04-01','2073-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74451,NULL,'2073-05',2073,5,'2073-05-01','2073-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74452,NULL,'2073-06',2073,6,'2073-06-01','2073-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74453,NULL,'2073-07',2073,7,'2073-07-01','2073-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74454,NULL,'2073-08',2073,8,'2073-08-01','2073-08-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74455,NULL,'2073-09',2073,9,'2073-09-01','2073-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74456,NULL,'2073-10',2073,10,'2073-10-01','2073-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74457,NULL,'2073-11',2073,11,'2073-11-01','2073-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74458,NULL,'2073-12',2073,12,'2073-12-01','2073-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74462,NULL,'2074-01',2074,1,'2074-01-01','2074-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74463,NULL,'2074-02',2074,2,'2074-02-01','2074-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74464,NULL,'2074-03',2074,3,'2074-03-01','2074-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74465,NULL,'2074-04',2074,4,'2074-04-01','2074-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74466,NULL,'2074-05',2074,5,'2074-05-01','2074-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74467,NULL,'2074-06',2074,6,'2074-06-01','2074-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74468,NULL,'2074-07',2074,7,'2074-07-01','2074-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74469,NULL,'2074-08',2074,8,'2074-08-01','2074-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74470,NULL,'2074-09',2074,9,'2074-09-01','2074-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74471,NULL,'2074-10',2074,10,'2074-10-01','2074-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74472,NULL,'2074-11',2074,11,'2074-11-01','2074-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74473,NULL,'2074-12',2074,12,'2074-12-01','2074-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74477,NULL,'2075-01',2075,1,'2075-01-01','2075-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74478,NULL,'2075-02',2075,2,'2075-02-01','2075-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74479,NULL,'2075-03',2075,3,'2075-03-01','2075-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74480,NULL,'2075-04',2075,4,'2075-04-01','2075-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74481,NULL,'2075-05',2075,5,'2075-05-01','2075-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74482,NULL,'2075-06',2075,6,'2075-06-01','2075-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74483,NULL,'2075-07',2075,7,'2075-07-01','2075-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74484,NULL,'2075-08',2075,8,'2075-08-01','2075-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74485,NULL,'2075-09',2075,9,'2075-09-01','2075-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74486,NULL,'2075-10',2075,10,'2075-10-01','2075-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74487,NULL,'2075-11',2075,11,'2075-11-01','2075-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74488,NULL,'2075-12',2075,12,'2075-12-01','2075-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74492,NULL,'2076-01',2076,1,'2076-01-01','2076-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74493,NULL,'2076-02',2076,2,'2076-02-01','2076-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74494,NULL,'2076-03',2076,3,'2076-03-01','2076-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74495,NULL,'2076-04',2076,4,'2076-04-01','2076-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74496,NULL,'2076-05',2076,5,'2076-05-01','2076-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74497,NULL,'2076-06',2076,6,'2076-06-01','2076-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74498,NULL,'2076-07',2076,7,'2076-07-01','2076-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74499,NULL,'2076-08',2076,8,'2076-08-01','2076-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74500,NULL,'2076-09',2076,9,'2076-09-01','2076-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74501,NULL,'2076-10',2076,10,'2076-10-01','2076-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74502,NULL,'2076-11',2076,11,'2076-11-01','2076-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74503,NULL,'2076-12',2076,12,'2076-12-01','2076-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74507,NULL,'2077-01',2077,1,'2077-01-01','2077-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74508,NULL,'2077-02',2077,2,'2077-02-01','2077-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74509,NULL,'2077-03',2077,3,'2077-03-01','2077-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74510,NULL,'2077-04',2077,4,'2077-04-01','2077-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74511,NULL,'2077-05',2077,5,'2077-05-01','2077-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74512,NULL,'2077-06',2077,6,'2077-06-01','2077-06-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74513,NULL,'2077-07',2077,7,'2077-07-01','2077-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74514,NULL,'2077-08',2077,8,'2077-08-01','2077-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74515,NULL,'2077-09',2077,9,'2077-09-01','2077-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74516,NULL,'2077-10',2077,10,'2077-10-01','2077-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74517,NULL,'2077-11',2077,11,'2077-11-01','2077-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74518,NULL,'2077-12',2077,12,'2077-12-01','2077-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74522,NULL,'2078-01',2078,1,'2078-01-01','2078-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74523,NULL,'2078-02',2078,2,'2078-02-01','2078-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74524,NULL,'2078-03',2078,3,'2078-03-01','2078-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74525,NULL,'2078-04',2078,4,'2078-04-01','2078-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74526,NULL,'2078-05',2078,5,'2078-05-01','2078-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74527,NULL,'2078-06',2078,6,'2078-06-01','2078-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74528,NULL,'2078-07',2078,7,'2078-07-01','2078-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74529,NULL,'2078-08',2078,8,'2078-08-01','2078-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74530,NULL,'2078-09',2078,9,'2078-09-01','2078-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74531,NULL,'2078-10',2078,10,'2078-10-01','2078-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74532,NULL,'2078-11',2078,11,'2078-11-01','2078-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74533,NULL,'2078-12',2078,12,'2078-12-01','2078-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74537,NULL,'2079-01',2079,1,'2079-01-01','2079-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74538,NULL,'2079-02',2079,2,'2079-02-01','2079-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74539,NULL,'2079-03',2079,3,'2079-03-01','2079-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74540,NULL,'2079-04',2079,4,'2079-04-01','2079-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74541,NULL,'2079-05',2079,5,'2079-05-01','2079-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74542,NULL,'2079-06',2079,6,'2079-06-01','2079-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74543,NULL,'2079-07',2079,7,'2079-07-01','2079-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74544,NULL,'2079-08',2079,8,'2079-08-01','2079-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74545,NULL,'2079-09',2079,9,'2079-09-01','2079-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74546,NULL,'2079-10',2079,10,'2079-10-01','2079-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74547,NULL,'2079-11',2079,11,'2079-11-01','2079-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74548,NULL,'2079-12',2079,12,'2079-12-01','2079-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74552,NULL,'2080-01',2080,1,'2080-01-01','2080-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74553,NULL,'2080-02',2080,2,'2080-02-01','2080-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74554,NULL,'2080-03',2080,3,'2080-03-01','2080-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74555,NULL,'2080-04',2080,4,'2080-04-01','2080-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74556,NULL,'2080-05',2080,5,'2080-05-01','2080-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74557,NULL,'2080-06',2080,6,'2080-06-01','2080-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74558,NULL,'2080-07',2080,7,'2080-07-01','2080-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74559,NULL,'2080-08',2080,8,'2080-08-01','2080-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74560,NULL,'2080-09',2080,9,'2080-09-01','2080-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74561,NULL,'2080-10',2080,10,'2080-10-01','2080-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74562,NULL,'2080-11',2080,11,'2080-11-01','2080-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74563,NULL,'2080-12',2080,12,'2080-12-01','2080-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74567,NULL,'2081-01',2081,1,'2081-01-01','2081-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74568,NULL,'2081-02',2081,2,'2081-02-01','2081-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74569,NULL,'2081-03',2081,3,'2081-03-01','2081-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74570,NULL,'2081-04',2081,4,'2081-04-01','2081-04-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74571,NULL,'2081-05',2081,5,'2081-05-01','2081-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74572,NULL,'2081-06',2081,6,'2081-06-01','2081-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74573,NULL,'2081-07',2081,7,'2081-07-01','2081-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74574,NULL,'2081-08',2081,8,'2081-08-01','2081-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74575,NULL,'2081-09',2081,9,'2081-09-01','2081-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74576,NULL,'2081-10',2081,10,'2081-10-01','2081-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74577,NULL,'2081-11',2081,11,'2081-11-01','2081-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74578,NULL,'2081-12',2081,12,'2081-12-01','2081-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74582,NULL,'2082-01',2082,1,'2082-01-01','2082-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74583,NULL,'2082-02',2082,2,'2082-02-01','2082-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74584,NULL,'2082-03',2082,3,'2082-03-01','2082-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74585,NULL,'2082-04',2082,4,'2082-04-01','2082-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74586,NULL,'2082-05',2082,5,'2082-05-01','2082-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74587,NULL,'2082-06',2082,6,'2082-06-01','2082-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74588,NULL,'2082-07',2082,7,'2082-07-01','2082-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74589,NULL,'2082-08',2082,8,'2082-08-01','2082-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74590,NULL,'2082-09',2082,9,'2082-09-01','2082-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74591,NULL,'2082-10',2082,10,'2082-10-01','2082-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74592,NULL,'2082-11',2082,11,'2082-11-01','2082-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74593,NULL,'2082-12',2082,12,'2082-12-01','2082-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74597,NULL,'2083-01',2083,1,'2083-01-01','2083-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74598,NULL,'2083-02',2083,2,'2083-02-01','2083-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74599,NULL,'2083-03',2083,3,'2083-03-01','2083-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74600,NULL,'2083-04',2083,4,'2083-04-01','2083-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74601,NULL,'2083-05',2083,5,'2083-05-01','2083-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74602,NULL,'2083-06',2083,6,'2083-06-01','2083-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74603,NULL,'2083-07',2083,7,'2083-07-01','2083-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74604,NULL,'2083-08',2083,8,'2083-08-01','2083-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74605,NULL,'2083-09',2083,9,'2083-09-01','2083-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74606,NULL,'2083-10',2083,10,'2083-10-01','2083-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74607,NULL,'2083-11',2083,11,'2083-11-01','2083-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74608,NULL,'2083-12',2083,12,'2083-12-01','2083-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74612,NULL,'2084-01',2084,1,'2084-01-01','2084-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74613,NULL,'2084-02',2084,2,'2084-02-01','2084-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74614,NULL,'2084-03',2084,3,'2084-03-01','2084-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74615,NULL,'2084-04',2084,4,'2084-04-01','2084-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74616,NULL,'2084-05',2084,5,'2084-05-01','2084-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74617,NULL,'2084-06',2084,6,'2084-06-01','2084-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74618,NULL,'2084-07',2084,7,'2084-07-01','2084-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74619,NULL,'2084-08',2084,8,'2084-08-01','2084-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74620,NULL,'2084-09',2084,9,'2084-09-01','2084-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74621,NULL,'2084-10',2084,10,'2084-10-01','2084-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74622,NULL,'2084-11',2084,11,'2084-11-01','2084-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74623,NULL,'2084-12',2084,12,'2084-12-01','2084-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74627,NULL,'2085-01',2085,1,'2085-01-01','2085-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74628,NULL,'2085-02',2085,2,'2085-02-01','2085-02-28',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74629,NULL,'2085-03',2085,3,'2085-03-01','2085-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74630,NULL,'2085-04',2085,4,'2085-04-01','2085-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74631,NULL,'2085-05',2085,5,'2085-05-01','2085-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74632,NULL,'2085-06',2085,6,'2085-06-01','2085-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74633,NULL,'2085-07',2085,7,'2085-07-01','2085-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74634,NULL,'2085-08',2085,8,'2085-08-01','2085-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74635,NULL,'2085-09',2085,9,'2085-09-01','2085-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74636,NULL,'2085-10',2085,10,'2085-10-01','2085-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74637,NULL,'2085-11',2085,11,'2085-11-01','2085-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74638,NULL,'2085-12',2085,12,'2085-12-01','2085-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74642,NULL,'2086-01',2086,1,'2086-01-01','2086-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74643,NULL,'2086-02',2086,2,'2086-02-01','2086-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74644,NULL,'2086-03',2086,3,'2086-03-01','2086-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74645,NULL,'2086-04',2086,4,'2086-04-01','2086-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74646,NULL,'2086-05',2086,5,'2086-05-01','2086-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74647,NULL,'2086-06',2086,6,'2086-06-01','2086-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74648,NULL,'2086-07',2086,7,'2086-07-01','2086-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74649,NULL,'2086-08',2086,8,'2086-08-01','2086-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74650,NULL,'2086-09',2086,9,'2086-09-01','2086-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74651,NULL,'2086-10',2086,10,'2086-10-01','2086-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74652,NULL,'2086-11',2086,11,'2086-11-01','2086-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74653,NULL,'2086-12',2086,12,'2086-12-01','2086-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74657,NULL,'2087-01',2087,1,'2087-01-01','2087-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74658,NULL,'2087-02',2087,2,'2087-02-01','2087-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74659,NULL,'2087-03',2087,3,'2087-03-01','2087-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74660,NULL,'2087-04',2087,4,'2087-04-01','2087-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74661,NULL,'2087-05',2087,5,'2087-05-01','2087-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74662,NULL,'2087-06',2087,6,'2087-06-01','2087-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74663,NULL,'2087-07',2087,7,'2087-07-01','2087-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74664,NULL,'2087-08',2087,8,'2087-08-01','2087-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74665,NULL,'2087-09',2087,9,'2087-09-01','2087-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74666,NULL,'2087-10',2087,10,'2087-10-01','2087-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74667,NULL,'2087-11',2087,11,'2087-11-01','2087-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74668,NULL,'2087-12',2087,12,'2087-12-01','2087-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74672,NULL,'2088-01',2088,1,'2088-01-01','2088-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74673,NULL,'2088-02',2088,2,'2088-02-01','2088-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74674,NULL,'2088-03',2088,3,'2088-03-01','2088-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74675,NULL,'2088-04',2088,4,'2088-04-01','2088-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74676,NULL,'2088-05',2088,5,'2088-05-01','2088-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74677,NULL,'2088-06',2088,6,'2088-06-01','2088-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74678,NULL,'2088-07',2088,7,'2088-07-01','2088-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74679,NULL,'2088-08',2088,8,'2088-08-01','2088-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74680,NULL,'2088-09',2088,9,'2088-09-01','2088-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74681,NULL,'2088-10',2088,10,'2088-10-01','2088-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74682,NULL,'2088-11',2088,11,'2088-11-01','2088-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74683,NULL,'2088-12',2088,12,'2088-12-01','2088-12-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74687,NULL,'2089-01',2089,1,'2089-01-01','2089-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74688,NULL,'2089-02',2089,2,'2089-02-01','2089-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74689,NULL,'2089-03',2089,3,'2089-03-01','2089-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74690,NULL,'2089-04',2089,4,'2089-04-01','2089-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74691,NULL,'2089-05',2089,5,'2089-05-01','2089-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74692,NULL,'2089-06',2089,6,'2089-06-01','2089-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74693,NULL,'2089-07',2089,7,'2089-07-01','2089-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74694,NULL,'2089-08',2089,8,'2089-08-01','2089-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74695,NULL,'2089-09',2089,9,'2089-09-01','2089-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74696,NULL,'2089-10',2089,10,'2089-10-01','2089-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74697,NULL,'2089-11',2089,11,'2089-11-01','2089-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74698,NULL,'2089-12',2089,12,'2089-12-01','2089-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74702,NULL,'2090-01',2090,1,'2090-01-01','2090-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74703,NULL,'2090-02',2090,2,'2090-02-01','2090-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74704,NULL,'2090-03',2090,3,'2090-03-01','2090-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74705,NULL,'2090-04',2090,4,'2090-04-01','2090-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74706,NULL,'2090-05',2090,5,'2090-05-01','2090-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74707,NULL,'2090-06',2090,6,'2090-06-01','2090-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74708,NULL,'2090-07',2090,7,'2090-07-01','2090-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74709,NULL,'2090-08',2090,8,'2090-08-01','2090-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74710,NULL,'2090-09',2090,9,'2090-09-01','2090-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74711,NULL,'2090-10',2090,10,'2090-10-01','2090-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74712,NULL,'2090-11',2090,11,'2090-11-01','2090-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74713,NULL,'2090-12',2090,12,'2090-12-01','2090-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74717,NULL,'2091-01',2091,1,'2091-01-01','2091-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74718,NULL,'2091-02',2091,2,'2091-02-01','2091-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74719,NULL,'2091-03',2091,3,'2091-03-01','2091-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74720,NULL,'2091-04',2091,4,'2091-04-01','2091-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74721,NULL,'2091-05',2091,5,'2091-05-01','2091-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74722,NULL,'2091-06',2091,6,'2091-06-01','2091-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74723,NULL,'2091-07',2091,7,'2091-07-01','2091-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74724,NULL,'2091-08',2091,8,'2091-08-01','2091-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74725,NULL,'2091-09',2091,9,'2091-09-01','2091-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74726,NULL,'2091-10',2091,10,'2091-10-01','2091-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74727,NULL,'2091-11',2091,11,'2091-11-01','2091-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74728,NULL,'2091-12',2091,12,'2091-12-01','2091-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74732,NULL,'2092-01',2092,1,'2092-01-01','2092-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74733,NULL,'2092-02',2092,2,'2092-02-01','2092-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74734,NULL,'2092-03',2092,3,'2092-03-01','2092-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74735,NULL,'2092-04',2092,4,'2092-04-01','2092-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74736,NULL,'2092-05',2092,5,'2092-05-01','2092-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74737,NULL,'2092-06',2092,6,'2092-06-01','2092-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74738,NULL,'2092-07',2092,7,'2092-07-01','2092-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74739,NULL,'2092-08',2092,8,'2092-08-01','2092-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74740,NULL,'2092-09',2092,9,'2092-09-01','2092-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74741,NULL,'2092-10',2092,10,'2092-10-01','2092-10-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74742,NULL,'2092-11',2092,11,'2092-11-01','2092-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74743,NULL,'2092-12',2092,12,'2092-12-01','2092-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74747,NULL,'2093-01',2093,1,'2093-01-01','2093-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74748,NULL,'2093-02',2093,2,'2093-02-01','2093-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74749,NULL,'2093-03',2093,3,'2093-03-01','2093-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74750,NULL,'2093-04',2093,4,'2093-04-01','2093-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74751,NULL,'2093-05',2093,5,'2093-05-01','2093-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74752,NULL,'2093-06',2093,6,'2093-06-01','2093-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74753,NULL,'2093-07',2093,7,'2093-07-01','2093-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74754,NULL,'2093-08',2093,8,'2093-08-01','2093-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74755,NULL,'2093-09',2093,9,'2093-09-01','2093-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74756,NULL,'2093-10',2093,10,'2093-10-01','2093-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74757,NULL,'2093-11',2093,11,'2093-11-01','2093-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74758,NULL,'2093-12',2093,12,'2093-12-01','2093-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74762,NULL,'2094-01',2094,1,'2094-01-01','2094-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74763,NULL,'2094-02',2094,2,'2094-02-01','2094-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74764,NULL,'2094-03',2094,3,'2094-03-01','2094-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74765,NULL,'2094-04',2094,4,'2094-04-01','2094-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74766,NULL,'2094-05',2094,5,'2094-05-01','2094-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74767,NULL,'2094-06',2094,6,'2094-06-01','2094-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74768,NULL,'2094-07',2094,7,'2094-07-01','2094-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74769,NULL,'2094-08',2094,8,'2094-08-01','2094-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74770,NULL,'2094-09',2094,9,'2094-09-01','2094-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74771,NULL,'2094-10',2094,10,'2094-10-01','2094-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74772,NULL,'2094-11',2094,11,'2094-11-01','2094-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74773,NULL,'2094-12',2094,12,'2094-12-01','2094-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74777,NULL,'2095-01',2095,1,'2095-01-01','2095-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74778,NULL,'2095-02',2095,2,'2095-02-01','2095-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74779,NULL,'2095-03',2095,3,'2095-03-01','2095-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74780,NULL,'2095-04',2095,4,'2095-04-01','2095-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74781,NULL,'2095-05',2095,5,'2095-05-01','2095-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74782,NULL,'2095-06',2095,6,'2095-06-01','2095-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74783,NULL,'2095-07',2095,7,'2095-07-01','2095-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74784,NULL,'2095-08',2095,8,'2095-08-01','2095-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74785,NULL,'2095-09',2095,9,'2095-09-01','2095-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74786,NULL,'2095-10',2095,10,'2095-10-01','2095-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74787,NULL,'2095-11',2095,11,'2095-11-01','2095-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74788,NULL,'2095-12',2095,12,'2095-12-01','2095-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74792,NULL,'2096-01',2096,1,'2096-01-01','2096-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74793,NULL,'2096-02',2096,2,'2096-02-01','2096-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74794,NULL,'2096-03',2096,3,'2096-03-01','2096-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74795,NULL,'2096-04',2096,4,'2096-04-01','2096-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74796,NULL,'2096-05',2096,5,'2096-05-01','2096-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74797,NULL,'2096-06',2096,6,'2096-06-01','2096-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74798,NULL,'2096-07',2096,7,'2096-07-01','2096-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74799,NULL,'2096-08',2096,8,'2096-08-01','2096-08-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74800,NULL,'2096-09',2096,9,'2096-09-01','2096-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74801,NULL,'2096-10',2096,10,'2096-10-01','2096-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74802,NULL,'2096-11',2096,11,'2096-11-01','2096-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74803,NULL,'2096-12',2096,12,'2096-12-01','2096-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74807,NULL,'2097-01',2097,1,'2097-01-01','2097-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74808,NULL,'2097-02',2097,2,'2097-02-01','2097-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74809,NULL,'2097-03',2097,3,'2097-03-01','2097-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74810,NULL,'2097-04',2097,4,'2097-04-01','2097-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74811,NULL,'2097-05',2097,5,'2097-05-01','2097-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74812,NULL,'2097-06',2097,6,'2097-06-01','2097-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74813,NULL,'2097-07',2097,7,'2097-07-01','2097-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74814,NULL,'2097-08',2097,8,'2097-08-01','2097-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74815,NULL,'2097-09',2097,9,'2097-09-01','2097-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74816,NULL,'2097-10',2097,10,'2097-10-01','2097-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74817,NULL,'2097-11',2097,11,'2097-11-01','2097-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74818,NULL,'2097-12',2097,12,'2097-12-01','2097-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74822,NULL,'2098-01',2098,1,'2098-01-01','2098-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74823,NULL,'2098-02',2098,2,'2098-02-01','2098-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74824,NULL,'2098-03',2098,3,'2098-03-01','2098-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74825,NULL,'2098-04',2098,4,'2098-04-01','2098-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74826,NULL,'2098-05',2098,5,'2098-05-01','2098-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74827,NULL,'2098-06',2098,6,'2098-06-01','2098-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74828,NULL,'2098-07',2098,7,'2098-07-01','2098-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74829,NULL,'2098-08',2098,8,'2098-08-01','2098-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74830,NULL,'2098-09',2098,9,'2098-09-01','2098-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74831,NULL,'2098-10',2098,10,'2098-10-01','2098-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74832,NULL,'2098-11',2098,11,'2098-11-01','2098-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74833,NULL,'2098-12',2098,12,'2098-12-01','2098-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74837,NULL,'2099-01',2099,1,'2099-01-01','2099-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74838,NULL,'2099-02',2099,2,'2099-02-01','2099-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74839,NULL,'2099-03',2099,3,'2099-03-01','2099-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74840,NULL,'2099-04',2099,4,'2099-04-01','2099-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74841,NULL,'2099-05',2099,5,'2099-05-01','2099-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74842,NULL,'2099-06',2099,6,'2099-06-01','2099-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74843,NULL,'2099-07',2099,7,'2099-07-01','2099-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74844,NULL,'2099-08',2099,8,'2099-08-01','2099-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74845,NULL,'2099-09',2099,9,'2099-09-01','2099-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74846,NULL,'2099-10',2099,10,'2099-10-01','2099-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74847,NULL,'2099-11',2099,11,'2099-11-01','2099-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74848,NULL,'2099-12',2099,12,'2099-12-01','2099-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74852,NULL,'2100-01',2100,1,'2100-01-01','2100-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74853,NULL,'2100-02',2100,2,'2100-02-01','2100-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74854,NULL,'2100-03',2100,3,'2100-03-01','2100-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74855,NULL,'2100-04',2100,4,'2100-04-01','2100-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74856,NULL,'2100-05',2100,5,'2100-05-01','2100-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74857,NULL,'2100-06',2100,6,'2100-06-01','2100-06-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74858,NULL,'2100-07',2100,7,'2100-07-01','2100-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74859,NULL,'2100-08',2100,8,'2100-08-01','2100-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74860,NULL,'2100-09',2100,9,'2100-09-01','2100-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74861,NULL,'2100-10',2100,10,'2100-10-01','2100-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74862,NULL,'2100-11',2100,11,'2100-11-01','2100-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74863,NULL,'2100-12',2100,12,'2100-12-01','2100-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74867,NULL,'2101-01',2101,1,'2101-01-01','2101-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74868,NULL,'2101-02',2101,2,'2101-02-01','2101-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74869,NULL,'2101-03',2101,3,'2101-03-01','2101-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74870,NULL,'2101-04',2101,4,'2101-04-01','2101-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74871,NULL,'2101-05',2101,5,'2101-05-01','2101-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74872,NULL,'2101-06',2101,6,'2101-06-01','2101-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74873,NULL,'2101-07',2101,7,'2101-07-01','2101-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74874,NULL,'2101-08',2101,8,'2101-08-01','2101-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74875,NULL,'2101-09',2101,9,'2101-09-01','2101-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74876,NULL,'2101-10',2101,10,'2101-10-01','2101-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74877,NULL,'2101-11',2101,11,'2101-11-01','2101-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74878,NULL,'2101-12',2101,12,'2101-12-01','2101-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74882,NULL,'2102-01',2102,1,'2102-01-01','2102-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74883,NULL,'2102-02',2102,2,'2102-02-01','2102-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74884,NULL,'2102-03',2102,3,'2102-03-01','2102-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74885,NULL,'2102-04',2102,4,'2102-04-01','2102-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74886,NULL,'2102-05',2102,5,'2102-05-01','2102-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74887,NULL,'2102-06',2102,6,'2102-06-01','2102-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74888,NULL,'2102-07',2102,7,'2102-07-01','2102-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74889,NULL,'2102-08',2102,8,'2102-08-01','2102-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74890,NULL,'2102-09',2102,9,'2102-09-01','2102-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74891,NULL,'2102-10',2102,10,'2102-10-01','2102-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74892,NULL,'2102-11',2102,11,'2102-11-01','2102-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74893,NULL,'2102-12',2102,12,'2102-12-01','2102-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74897,NULL,'2103-01',2103,1,'2103-01-01','2103-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74898,NULL,'2103-02',2103,2,'2103-02-01','2103-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74899,NULL,'2103-03',2103,3,'2103-03-01','2103-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74900,NULL,'2103-04',2103,4,'2103-04-01','2103-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74901,NULL,'2103-05',2103,5,'2103-05-01','2103-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74902,NULL,'2103-06',2103,6,'2103-06-01','2103-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74903,NULL,'2103-07',2103,7,'2103-07-01','2103-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74904,NULL,'2103-08',2103,8,'2103-08-01','2103-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74905,NULL,'2103-09',2103,9,'2103-09-01','2103-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74906,NULL,'2103-10',2103,10,'2103-10-01','2103-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74907,NULL,'2103-11',2103,11,'2103-11-01','2103-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74908,NULL,'2103-12',2103,12,'2103-12-01','2103-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74912,NULL,'2104-01',2104,1,'2104-01-01','2104-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74913,NULL,'2104-02',2104,2,'2104-02-01','2104-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74914,NULL,'2104-03',2104,3,'2104-03-01','2104-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74915,NULL,'2104-04',2104,4,'2104-04-01','2104-04-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74916,NULL,'2104-05',2104,5,'2104-05-01','2104-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74917,NULL,'2104-06',2104,6,'2104-06-01','2104-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74918,NULL,'2104-07',2104,7,'2104-07-01','2104-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74919,NULL,'2104-08',2104,8,'2104-08-01','2104-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74920,NULL,'2104-09',2104,9,'2104-09-01','2104-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74921,NULL,'2104-10',2104,10,'2104-10-01','2104-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74922,NULL,'2104-11',2104,11,'2104-11-01','2104-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74923,NULL,'2104-12',2104,12,'2104-12-01','2104-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74927,NULL,'2105-01',2105,1,'2105-01-01','2105-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74928,NULL,'2105-02',2105,2,'2105-02-01','2105-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74929,NULL,'2105-03',2105,3,'2105-03-01','2105-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74930,NULL,'2105-04',2105,4,'2105-04-01','2105-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74931,NULL,'2105-05',2105,5,'2105-05-01','2105-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74932,NULL,'2105-06',2105,6,'2105-06-01','2105-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74933,NULL,'2105-07',2105,7,'2105-07-01','2105-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74934,NULL,'2105-08',2105,8,'2105-08-01','2105-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74935,NULL,'2105-09',2105,9,'2105-09-01','2105-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74936,NULL,'2105-10',2105,10,'2105-10-01','2105-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74937,NULL,'2105-11',2105,11,'2105-11-01','2105-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74938,NULL,'2105-12',2105,12,'2105-12-01','2105-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74942,NULL,'2106-01',2106,1,'2106-01-01','2106-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74943,NULL,'2106-02',2106,2,'2106-02-01','2106-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74944,NULL,'2106-03',2106,3,'2106-03-01','2106-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74945,NULL,'2106-04',2106,4,'2106-04-01','2106-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74946,NULL,'2106-05',2106,5,'2106-05-01','2106-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74947,NULL,'2106-06',2106,6,'2106-06-01','2106-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74948,NULL,'2106-07',2106,7,'2106-07-01','2106-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74949,NULL,'2106-08',2106,8,'2106-08-01','2106-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74950,NULL,'2106-09',2106,9,'2106-09-01','2106-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74951,NULL,'2106-10',2106,10,'2106-10-01','2106-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74952,NULL,'2106-11',2106,11,'2106-11-01','2106-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74953,NULL,'2106-12',2106,12,'2106-12-01','2106-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74957,NULL,'2107-01',2107,1,'2107-01-01','2107-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74958,NULL,'2107-02',2107,2,'2107-02-01','2107-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74959,NULL,'2107-03',2107,3,'2107-03-01','2107-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74960,NULL,'2107-04',2107,4,'2107-04-01','2107-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74961,NULL,'2107-05',2107,5,'2107-05-01','2107-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74962,NULL,'2107-06',2107,6,'2107-06-01','2107-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74963,NULL,'2107-07',2107,7,'2107-07-01','2107-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74964,NULL,'2107-08',2107,8,'2107-08-01','2107-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74965,NULL,'2107-09',2107,9,'2107-09-01','2107-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74966,NULL,'2107-10',2107,10,'2107-10-01','2107-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74967,NULL,'2107-11',2107,11,'2107-11-01','2107-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74968,NULL,'2107-12',2107,12,'2107-12-01','2107-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74972,NULL,'2108-01',2108,1,'2108-01-01','2108-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74973,NULL,'2108-02',2108,2,'2108-02-01','2108-02-28',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (74974,NULL,'2108-03',2108,3,'2108-03-01','2108-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74975,NULL,'2108-04',2108,4,'2108-04-01','2108-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74976,NULL,'2108-05',2108,5,'2108-05-01','2108-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74977,NULL,'2108-06',2108,6,'2108-06-01','2108-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74978,NULL,'2108-07',2108,7,'2108-07-01','2108-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74979,NULL,'2108-08',2108,8,'2108-08-01','2108-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74980,NULL,'2108-09',2108,9,'2108-09-01','2108-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74981,NULL,'2108-10',2108,10,'2108-10-01','2108-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74982,NULL,'2108-11',2108,11,'2108-11-01','2108-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74983,NULL,'2108-12',2108,12,'2108-12-01','2108-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74987,NULL,'2109-01',2109,1,'2109-01-01','2109-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74988,NULL,'2109-02',2109,2,'2109-02-01','2109-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(74989,NULL,'2109-03',2109,3,'2109-03-01','2109-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74990,NULL,'2109-04',2109,4,'2109-04-01','2109-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74991,NULL,'2109-05',2109,5,'2109-05-01','2109-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74992,NULL,'2109-06',2109,6,'2109-06-01','2109-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74993,NULL,'2109-07',2109,7,'2109-07-01','2109-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74994,NULL,'2109-08',2109,8,'2109-08-01','2109-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74995,NULL,'2109-09',2109,9,'2109-09-01','2109-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74996,NULL,'2109-10',2109,10,'2109-10-01','2109-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(74997,NULL,'2109-11',2109,11,'2109-11-01','2109-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(74998,NULL,'2109-12',2109,12,'2109-12-01','2109-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75002,NULL,'2110-01',2110,1,'2110-01-01','2110-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75003,NULL,'2110-02',2110,2,'2110-02-01','2110-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75004,NULL,'2110-03',2110,3,'2110-03-01','2110-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75005,NULL,'2110-04',2110,4,'2110-04-01','2110-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75006,NULL,'2110-05',2110,5,'2110-05-01','2110-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75007,NULL,'2110-06',2110,6,'2110-06-01','2110-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75008,NULL,'2110-07',2110,7,'2110-07-01','2110-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75009,NULL,'2110-08',2110,8,'2110-08-01','2110-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75010,NULL,'2110-09',2110,9,'2110-09-01','2110-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75011,NULL,'2110-10',2110,10,'2110-10-01','2110-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75012,NULL,'2110-11',2110,11,'2110-11-01','2110-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75013,NULL,'2110-12',2110,12,'2110-12-01','2110-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75017,NULL,'2111-01',2111,1,'2111-01-01','2111-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75018,NULL,'2111-02',2111,2,'2111-02-01','2111-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75019,NULL,'2111-03',2111,3,'2111-03-01','2111-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75020,NULL,'2111-04',2111,4,'2111-04-01','2111-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75021,NULL,'2111-05',2111,5,'2111-05-01','2111-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75022,NULL,'2111-06',2111,6,'2111-06-01','2111-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75023,NULL,'2111-07',2111,7,'2111-07-01','2111-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75024,NULL,'2111-08',2111,8,'2111-08-01','2111-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75025,NULL,'2111-09',2111,9,'2111-09-01','2111-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75026,NULL,'2111-10',2111,10,'2111-10-01','2111-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75027,NULL,'2111-11',2111,11,'2111-11-01','2111-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75028,NULL,'2111-12',2111,12,'2111-12-01','2111-12-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (75032,NULL,'2112-01',2112,1,'2112-01-01','2112-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75033,NULL,'2112-02',2112,2,'2112-02-01','2112-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75034,NULL,'2112-03',2112,3,'2112-03-01','2112-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75035,NULL,'2112-04',2112,4,'2112-04-01','2112-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75036,NULL,'2112-05',2112,5,'2112-05-01','2112-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75037,NULL,'2112-06',2112,6,'2112-06-01','2112-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75038,NULL,'2112-07',2112,7,'2112-07-01','2112-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75039,NULL,'2112-08',2112,8,'2112-08-01','2112-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75040,NULL,'2112-09',2112,9,'2112-09-01','2112-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75041,NULL,'2112-10',2112,10,'2112-10-01','2112-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75042,NULL,'2112-11',2112,11,'2112-11-01','2112-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75043,NULL,'2112-12',2112,12,'2112-12-01','2112-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75047,NULL,'2113-01',2113,1,'2113-01-01','2113-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75048,NULL,'2113-02',2113,2,'2113-02-01','2113-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75049,NULL,'2113-03',2113,3,'2113-03-01','2113-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75050,NULL,'2113-04',2113,4,'2113-04-01','2113-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75051,NULL,'2113-05',2113,5,'2113-05-01','2113-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75052,NULL,'2113-06',2113,6,'2113-06-01','2113-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75053,NULL,'2113-07',2113,7,'2113-07-01','2113-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75054,NULL,'2113-08',2113,8,'2113-08-01','2113-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75055,NULL,'2113-09',2113,9,'2113-09-01','2113-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75056,NULL,'2113-10',2113,10,'2113-10-01','2113-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75057,NULL,'2113-11',2113,11,'2113-11-01','2113-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75058,NULL,'2113-12',2113,12,'2113-12-01','2113-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75062,NULL,'2114-01',2114,1,'2114-01-01','2114-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75063,NULL,'2114-02',2114,2,'2114-02-01','2114-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75064,NULL,'2114-03',2114,3,'2114-03-01','2114-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75065,NULL,'2114-04',2114,4,'2114-04-01','2114-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75066,NULL,'2114-05',2114,5,'2114-05-01','2114-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75067,NULL,'2114-06',2114,6,'2114-06-01','2114-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75068,NULL,'2114-07',2114,7,'2114-07-01','2114-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75069,NULL,'2114-08',2114,8,'2114-08-01','2114-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75070,NULL,'2114-09',2114,9,'2114-09-01','2114-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75071,NULL,'2114-10',2114,10,'2114-10-01','2114-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75072,NULL,'2114-11',2114,11,'2114-11-01','2114-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75073,NULL,'2114-12',2114,12,'2114-12-01','2114-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75077,NULL,'2115-01',2115,1,'2115-01-01','2115-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75078,NULL,'2115-02',2115,2,'2115-02-01','2115-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75079,NULL,'2115-03',2115,3,'2115-03-01','2115-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75080,NULL,'2115-04',2115,4,'2115-04-01','2115-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75081,NULL,'2115-05',2115,5,'2115-05-01','2115-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75082,NULL,'2115-06',2115,6,'2115-06-01','2115-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75083,NULL,'2115-07',2115,7,'2115-07-01','2115-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75084,NULL,'2115-08',2115,8,'2115-08-01','2115-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75085,NULL,'2115-09',2115,9,'2115-09-01','2115-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75086,NULL,'2115-10',2115,10,'2115-10-01','2115-10-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (75087,NULL,'2115-11',2115,11,'2115-11-01','2115-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75088,NULL,'2115-12',2115,12,'2115-12-01','2115-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75092,NULL,'2116-01',2116,1,'2116-01-01','2116-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75093,NULL,'2116-02',2116,2,'2116-02-01','2116-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75094,NULL,'2116-03',2116,3,'2116-03-01','2116-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75095,NULL,'2116-04',2116,4,'2116-04-01','2116-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75096,NULL,'2116-05',2116,5,'2116-05-01','2116-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75097,NULL,'2116-06',2116,6,'2116-06-01','2116-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75098,NULL,'2116-07',2116,7,'2116-07-01','2116-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75099,NULL,'2116-08',2116,8,'2116-08-01','2116-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75100,NULL,'2116-09',2116,9,'2116-09-01','2116-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75101,NULL,'2116-10',2116,10,'2116-10-01','2116-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75102,NULL,'2116-11',2116,11,'2116-11-01','2116-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75103,NULL,'2116-12',2116,12,'2116-12-01','2116-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75107,NULL,'2117-01',2117,1,'2117-01-01','2117-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75108,NULL,'2117-02',2117,2,'2117-02-01','2117-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75109,NULL,'2117-03',2117,3,'2117-03-01','2117-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75110,NULL,'2117-04',2117,4,'2117-04-01','2117-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75111,NULL,'2117-05',2117,5,'2117-05-01','2117-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75112,NULL,'2117-06',2117,6,'2117-06-01','2117-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75113,NULL,'2117-07',2117,7,'2117-07-01','2117-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75114,NULL,'2117-08',2117,8,'2117-08-01','2117-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75115,NULL,'2117-09',2117,9,'2117-09-01','2117-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75116,NULL,'2117-10',2117,10,'2117-10-01','2117-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75117,NULL,'2117-11',2117,11,'2117-11-01','2117-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75118,NULL,'2117-12',2117,12,'2117-12-01','2117-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75122,NULL,'2118-01',2118,1,'2118-01-01','2118-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75123,NULL,'2118-02',2118,2,'2118-02-01','2118-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75124,NULL,'2118-03',2118,3,'2118-03-01','2118-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75125,NULL,'2118-04',2118,4,'2118-04-01','2118-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75126,NULL,'2118-05',2118,5,'2118-05-01','2118-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75127,NULL,'2118-06',2118,6,'2118-06-01','2118-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75128,NULL,'2118-07',2118,7,'2118-07-01','2118-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75129,NULL,'2118-08',2118,8,'2118-08-01','2118-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75130,NULL,'2118-09',2118,9,'2118-09-01','2118-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75131,NULL,'2118-10',2118,10,'2118-10-01','2118-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75132,NULL,'2118-11',2118,11,'2118-11-01','2118-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75133,NULL,'2118-12',2118,12,'2118-12-01','2118-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75137,NULL,'2119-01',2119,1,'2119-01-01','2119-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75138,NULL,'2119-02',2119,2,'2119-02-01','2119-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75139,NULL,'2119-03',2119,3,'2119-03-01','2119-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75140,NULL,'2119-04',2119,4,'2119-04-01','2119-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75141,NULL,'2119-05',2119,5,'2119-05-01','2119-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75142,NULL,'2119-06',2119,6,'2119-06-01','2119-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75143,NULL,'2119-07',2119,7,'2119-07-01','2119-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75144,NULL,'2119-08',2119,8,'2119-08-01','2119-08-31',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (75145,NULL,'2119-09',2119,9,'2119-09-01','2119-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75146,NULL,'2119-10',2119,10,'2119-10-01','2119-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75147,NULL,'2119-11',2119,11,'2119-11-01','2119-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75148,NULL,'2119-12',2119,12,'2119-12-01','2119-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75152,NULL,'2120-01',2120,1,'2120-01-01','2120-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75153,NULL,'2120-02',2120,2,'2120-02-01','2120-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75154,NULL,'2120-03',2120,3,'2120-03-01','2120-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75155,NULL,'2120-04',2120,4,'2120-04-01','2120-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75156,NULL,'2120-05',2120,5,'2120-05-01','2120-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75157,NULL,'2120-06',2120,6,'2120-06-01','2120-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75158,NULL,'2120-07',2120,7,'2120-07-01','2120-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75159,NULL,'2120-08',2120,8,'2120-08-01','2120-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75160,NULL,'2120-09',2120,9,'2120-09-01','2120-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75161,NULL,'2120-10',2120,10,'2120-10-01','2120-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75162,NULL,'2120-11',2120,11,'2120-11-01','2120-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75163,NULL,'2120-12',2120,12,'2120-12-01','2120-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75167,NULL,'2121-01',2121,1,'2121-01-01','2121-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75168,NULL,'2121-02',2121,2,'2121-02-01','2121-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75169,NULL,'2121-03',2121,3,'2121-03-01','2121-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75170,NULL,'2121-04',2121,4,'2121-04-01','2121-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75171,NULL,'2121-05',2121,5,'2121-05-01','2121-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75172,NULL,'2121-06',2121,6,'2121-06-01','2121-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75173,NULL,'2121-07',2121,7,'2121-07-01','2121-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75174,NULL,'2121-08',2121,8,'2121-08-01','2121-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75175,NULL,'2121-09',2121,9,'2121-09-01','2121-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75176,NULL,'2121-10',2121,10,'2121-10-01','2121-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75177,NULL,'2121-11',2121,11,'2121-11-01','2121-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75178,NULL,'2121-12',2121,12,'2121-12-01','2121-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75182,NULL,'2122-01',2122,1,'2122-01-01','2122-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75183,NULL,'2122-02',2122,2,'2122-02-01','2122-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75184,NULL,'2122-03',2122,3,'2122-03-01','2122-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75185,NULL,'2122-04',2122,4,'2122-04-01','2122-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75186,NULL,'2122-05',2122,5,'2122-05-01','2122-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75187,NULL,'2122-06',2122,6,'2122-06-01','2122-06-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75188,NULL,'2122-07',2122,7,'2122-07-01','2122-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75189,NULL,'2122-08',2122,8,'2122-08-01','2122-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75190,NULL,'2122-09',2122,9,'2122-09-01','2122-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75191,NULL,'2122-10',2122,10,'2122-10-01','2122-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75192,NULL,'2122-11',2122,11,'2122-11-01','2122-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75193,NULL,'2122-12',2122,12,'2122-12-01','2122-12-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75197,NULL,'2123-01',2123,1,'2123-01-01','2123-01-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75198,NULL,'2123-02',2123,2,'2123-02-01','2123-02-28',NULL,NULL,40769,0,NULL,1,0,0,1),(75199,NULL,'2123-03',2123,3,'2123-03-01','2123-03-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75200,NULL,'2123-04',2123,4,'2123-04-01','2123-04-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75201,NULL,'2123-05',2123,5,'2123-05-01','2123-05-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75202,NULL,'2123-06',2123,6,'2123-06-01','2123-06-30',NULL,NULL,40769,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (75203,NULL,'2123-07',2123,7,'2123-07-01','2123-07-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75204,NULL,'2123-08',2123,8,'2123-08-01','2123-08-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75205,NULL,'2123-09',2123,9,'2123-09-01','2123-09-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75206,NULL,'2123-10',2123,10,'2123-10-01','2123-10-31',NULL,NULL,40769,0,NULL,1,0,0,1),(75207,NULL,'2123-11',2123,11,'2123-11-01','2123-11-30',NULL,NULL,40769,0,NULL,1,0,0,1),(75208,NULL,'2123-12',2123,12,'2123-12-01','2123-12-31',NULL,NULL,40769,0,NULL,1,0,0,1);

--
-- Table structure for table `person_activities`
--

CREATE TABLE `person_activities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `activity_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_activities_person_id_foreign` (`person_id`),
  KEY `person_activities_activity_id_foreign` (`activity_id`),
  CONSTRAINT `person_activities_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_activities_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=173 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_activities`
--

INSERT INTO `person_activities` VALUES (136,7181,40719,855,1,'2023-04-17 02:48:32','2023-04-17 02:48:32',NULL),(137,7181,40719,1,0,'2023-04-17 02:48:32','2023-04-17 02:48:32',NULL),(143,7181,40755,784,1,'2023-05-19 04:26:55','2023-05-19 04:26:55',NULL),(148,7181,40765,156,1,'2023-05-19 20:10:03','2023-05-19 20:10:03',NULL),(149,7181,40766,769,1,'2023-05-19 20:39:45','2023-05-19 20:39:45',NULL),(150,7181,40766,713,0,'2023-05-19 20:39:45','2023-05-19 20:39:45',NULL),(151,7181,40767,946,1,'2023-05-19 20:50:02','2023-05-19 20:50:02',NULL),(152,7181,40746,654,1,'2023-05-19 20:51:59','2023-05-19 20:51:59',NULL),(155,7181,40754,655,1,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(156,7181,40754,437,0,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(157,7181,40754,659,0,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(158,7181,40754,436,0,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(159,7181,40761,224,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(160,7181,40761,222,0,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(161,7181,40761,223,0,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(162,7181,40762,660,1,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(163,7181,40762,654,0,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(164,7181,40762,655,0,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(165,7181,40768,843,1,'2023-05-19 22:02:15','2023-05-19 22:02:15',NULL),(166,7181,40769,656,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(167,7181,40749,660,1,'2023-05-22 00:49:27','2023-05-22 00:49:27',NULL),(168,7181,40749,790,0,'2023-05-22 00:49:27','2023-05-22 00:49:27',NULL),(171,7181,40764,709,1,'2023-07-01 01:06:59','2023-07-01 01:06:59',NULL),(172,7181,40763,438,1,'2024-02-02 20:38:19','2024-02-02 20:38:19',NULL);

--
-- Table structure for table `person_cobrador`
--

CREATE TABLE `person_cobrador` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_cobrador_person_id_foreign` (`person_id`),
  KEY `person_cobrador_cobrador_id_foreign` (`cobrador_id`),
  KEY `person_cobrador_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `person_cobrador_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `person_cobrador_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_cobrador_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_cobrador`
--


--
-- Table structure for table `person_cobrador_history`
--

CREATE TABLE `person_cobrador_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `cobrador_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_cobrador_history_person_id_foreign` (`person_id`),
  KEY `person_cobrador_history_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `person_cobrador_history_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `person_cobrador_history_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `person_cobrador_history_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_cobrador_history_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_cobrador_history`
--


--
-- Table structure for table `person_configurations`
--

CREATE TABLE `person_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `settle_calc_by_coef` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `active` int(10) unsigned DEFAULT NULL,
  `enviarMail` int(11) DEFAULT '1',
  `honorario` decimal(16,2) DEFAULT '0.00',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `month_close` int(10) unsigned DEFAULT NULL,
  `iva_condition_id` int(10) unsigned DEFAULT NULL,
  `obligation_sell` int(10) unsigned DEFAULT NULL,
  `obligation_buy` int(10) unsigned DEFAULT NULL,
  `obligation_iva` int(10) unsigned DEFAULT NULL,
  `obligation_electronic_receipt` int(10) unsigned DEFAULT NULL,
  `obligation_iibb` int(10) unsigned DEFAULT NULL,
  `obligation_other_taxes` int(10) unsigned DEFAULT NULL,
  `liquidation_start_period` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `obligation_salaries` int(10) unsigned DEFAULT NULL,
  `empleada_domestica` tinyint(1) NOT NULL DEFAULT '0',
  `prorratear_iva` tinyint(1) NOT NULL DEFAULT '0',
  `is_itc` tinyint(1) NOT NULL DEFAULT '0',
  `priority_order` int(10) unsigned DEFAULT NULL,
  `person_id_administrador` int(11) DEFAULT NULL,
  `person_id_titular` int(11) DEFAULT NULL,
  `logo_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `certificado_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `llave_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `access_electronic_receipt` int(10) unsigned DEFAULT '0',
  `ruta_logo_fa` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inicio_actividades` date DEFAULT NULL,
  `fecha_de_mono_to_ri` date DEFAULT NULL,
  `iibb` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fe_leyenda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iva` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iva_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iibb` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iibb_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `usar_multimoneda` tinyint(1) NOT NULL DEFAULT '0',
  `is_ag_per_ret` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `barcode_columns` tinyint(3) unsigned NOT NULL DEFAULT '3' COMMENT 'Cantidad de columnas en la hoja de etiquetas',
  `barcode_rows` tinyint(3) unsigned NOT NULL DEFAULT '10' COMMENT 'Cantidad de filas en la hoja de etiquetas',
  `barcode_width_cm` decimal(4,2) NOT NULL DEFAULT '6.50' COMMENT 'Ancho de cada etiqueta en cm',
  `barcode_height_cm` decimal(4,2) NOT NULL DEFAULT '2.50' COMMENT 'Alto de cada etiqueta en cm',
  `barcode_page_size` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'A4' COMMENT 'Tamaño de página (A4, Letter, etc)',
  PRIMARY KEY (`id`),
  KEY `person_configurations_person_id_foreign` (`person_id`),
  KEY `person_configurations_period_id_foreign` (`period_id`),
  KEY `person_configurations_zone_id_foreign` (`zone_id`),
  KEY `person_configurations_iva_condition_id_foreign` (`iva_condition_id`),
  KEY `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `person_configurations_iva_condition_id_foreign` FOREIGN KEY (`iva_condition_id`) REFERENCES `iva_conditions` (`id`),
  CONSTRAINT `person_configurations_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `person_configurations_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_configurations_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_configurations`
--

INSERT INTO `person_configurations` VALUES (2,7181,40719,NULL,NULL,0,'2022-04-26 18:45:13','2023-04-17 02:48:32',2,1,0.00,NULL,12,1,0,0,0,0,1,NULL,'2022-1',1,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,'2022-01-03',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(27,7181,40746,NULL,NULL,0,'2022-11-19 04:18:46','2023-05-19 20:51:59',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2022-07',1,0,0,0,2,40746,40746,NULL,NULL,NULL,0,NULL,'2022-07-01','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(30,7181,40749,NULL,NULL,0,'2022-11-19 04:33:48','2023-05-22 00:49:27',2,1,0.00,NULL,12,2,0,0,0,0,1,NULL,'2022-10',1,0,0,0,2,40749,40749,NULL,NULL,NULL,0,NULL,'2016-06-01','0000-00-00','20320800928',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(35,7181,40754,NULL,NULL,0,'2022-11-19 04:45:58','2023-05-19 20:55:00',2,1,0.00,NULL,12,2,0,0,0,0,1,NULL,'2008-08',1,0,0,0,2,40754,40754,NULL,NULL,NULL,0,NULL,'1999-01-01','0000-00-00','23251393729',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(36,7181,40755,NULL,NULL,0,'2023-04-16 19:31:49','2023-05-19 04:26:55',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-03',1,0,0,0,2,40755,40755,NULL,NULL,NULL,0,NULL,'2008-09-01','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(42,7181,40761,NULL,NULL,0,'2023-04-16 20:00:45','2023-05-19 21:16:24',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2022-08',1,0,0,0,2,40761,40761,NULL,NULL,NULL,0,NULL,'2017-11-01','0000-00-00','9043005848',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(43,7181,40762,NULL,NULL,0,'2023-04-16 20:22:29','2023-05-19 21:17:44',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2022-01',1,0,0,0,2,40762,40762,NULL,NULL,NULL,0,NULL,'2018-07-01','0000-00-00','9043010827',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(44,7181,40763,NULL,NULL,0,'2023-05-19 19:45:35','2024-02-02 20:38:19',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-04',1,0,0,0,2,40763,40763,NULL,NULL,NULL,0,NULL,'2023-05-19','0000-00-00','270241786',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(45,7181,40764,NULL,NULL,0,'2023-05-19 20:02:21','2023-07-01 01:06:59',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-04',1,0,0,0,2,40764,40764,NULL,NULL,NULL,0,NULL,'2023-04-01','0000-00-00','287350872',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(46,7181,40765,NULL,NULL,0,'2023-05-19 20:09:21','2023-05-19 20:10:03',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-04',1,0,0,0,2,40765,40765,NULL,NULL,NULL,0,NULL,'2023-05-19','0000-00-00','250685068',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(47,7181,40766,NULL,NULL,0,'2023-05-19 20:39:45','2023-05-19 20:39:45',2,1,0.00,NULL,12,1,0,0,0,0,1,NULL,'2023-02',1,0,0,0,2,40766,40766,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(48,7181,40767,NULL,NULL,0,'2023-05-19 20:50:02','2023-05-19 20:50:02',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2022-07',1,0,0,0,2,40767,40767,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00','285084547',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(49,7181,40768,NULL,NULL,0,'2023-05-19 22:02:15','2023-05-19 22:02:15',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-04',1,0,0,0,2,40768,40768,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00','280830445',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(50,7181,40769,NULL,NULL,0,'2023-05-19 22:17:05','2023-05-19 22:17:05',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2023-04',1,0,0,0,2,40769,40769,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00','9042367789',NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4');

--
-- Table structure for table `person_liquidators`
--

CREATE TABLE `person_liquidators` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `liquidator_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_liquidators_person_id_foreign` (`person_id`),
  KEY `person_liquidators_liquidator_id_foreign` (`liquidator_id`),
  CONSTRAINT `person_liquidators_liquidator_id_foreign` FOREIGN KEY (`liquidator_id`) REFERENCES `liquidators` (`id`),
  CONSTRAINT `person_liquidators_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_liquidators`
--

INSERT INTO `person_liquidators` VALUES (40,7181,40755,9,'2023-05-19 04:26:55','2023-05-19 04:26:55',NULL),(45,7181,40765,8,'2023-05-19 20:10:03','2023-05-19 20:10:03',NULL),(46,7181,40766,8,'2023-05-19 20:39:45','2023-05-19 20:39:45',NULL),(47,7181,40767,8,'2023-05-19 20:50:02','2023-05-19 20:50:02',NULL),(48,7181,40746,8,'2023-05-19 20:51:59','2023-05-19 20:51:59',NULL),(50,7181,40754,8,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(51,7181,40761,10,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(52,7181,40762,9,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(53,7181,40768,8,'2023-05-19 22:02:15','2023-05-19 22:02:15',NULL),(54,7181,40769,8,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(55,7181,40749,8,'2023-05-22 00:49:27','2023-05-22 00:49:27',NULL),(58,7181,40764,8,'2023-07-01 01:06:59','2023-07-01 01:06:59',NULL),(59,7181,40763,8,'2024-02-02 20:38:19','2024-02-02 20:38:19',NULL);

--
-- Table structure for table `person_pagos_lugares`
--

CREATE TABLE `person_pagos_lugares` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contacto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `direccion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `localidad_id` int(10) unsigned DEFAULT NULL,
  `telefono` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `horario_de_llamada` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `horario_de_pago` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cobradores_metodo_id` bigint(20) unsigned DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_pagos_lugares_person_id_foreign` (`person_id`),
  KEY `person_pagos_lugares_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `person_pagos_lugares_localidad_id_foreign` (`localidad_id`),
  KEY `person_pagos_lugares_cobradores_metodo_id_foreign` (`cobradores_metodo_id`),
  CONSTRAINT `person_pagos_lugares_cobradores_metodo_id_foreign` FOREIGN KEY (`cobradores_metodo_id`) REFERENCES `cobradores_metodos` (`id`),
  CONSTRAINT `person_pagos_lugares_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`),
  CONSTRAINT `person_pagos_lugares_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_pagos_lugares_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pagos_lugares`
--


--
-- Table structure for table `person_pagos_promesas`
--

CREATE TABLE `person_pagos_promesas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `person_pago_lugar_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_pagos_promesas_person_id_foreign` (`person_id`),
  KEY `person_pagos_promesas_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `person_pagos_promesas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_pagos_promesas_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pagos_promesas`
--


--
-- Table structure for table `person_pay_methods`
--

CREATE TABLE `person_pay_methods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `pay_method_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_pay_methods_person_id_foreign` (`person_id`),
  KEY `person_pay_methods_pay_method_id_foreign` (`pay_method_id`),
  CONSTRAINT `person_pay_methods_pay_method_id_foreign` FOREIGN KEY (`pay_method_id`) REFERENCES `pay_methods` (`id`),
  CONSTRAINT `person_pay_methods_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pay_methods`
--

INSERT INTO `person_pay_methods` VALUES (14,7181,40755,8,'2023-05-19 04:26:55','2023-05-19 04:26:55',NULL),(19,7181,40765,8,'2023-05-19 20:10:03','2023-05-19 20:10:03',NULL),(20,7181,40766,8,'2023-05-19 20:39:45','2023-05-19 20:39:45',NULL),(21,7181,40767,8,'2023-05-19 20:50:02','2023-05-19 20:50:02',NULL),(22,7181,40746,8,'2023-05-19 20:51:59','2023-05-19 20:51:59',NULL),(24,7181,40754,8,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(25,7181,40761,8,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(26,7181,40762,8,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(27,7181,40768,8,'2023-05-19 22:02:15','2023-05-19 22:02:15',NULL),(28,7181,40769,8,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(29,7181,40749,8,'2023-05-22 00:49:27','2023-05-22 00:49:27',NULL),(32,7181,40764,8,'2023-07-01 01:06:59','2023-07-01 01:06:59',NULL),(33,7181,40763,8,'2024-02-02 20:38:19','2024-02-02 20:38:19',NULL);

--
-- Table structure for table `person_relationeds`
--

CREATE TABLE `person_relationeds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `cliente_relationed_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_relationeds_person_id_foreign` (`person_id`),
  KEY `person_relationeds_client_id_foreign` (`client_id`),
  KEY `person_relationeds_cliente_relationed_id_foreign` (`cliente_relationed_id`),
  CONSTRAINT `person_relationeds_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_cliente_relationed_id_foreign` FOREIGN KEY (`cliente_relationed_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_relationeds`
--


--
-- Table structure for table `person_types`
--

CREATE TABLE `person_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `person_types_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_types`
--

INSERT INTO `person_types` VALUES (1,NULL,'Persona Humana',NULL,NULL,NULL),(2,NULL,'Persona Juridica',NULL,NULL,NULL);

--
-- Table structure for table `person_zone_actividad`
--

CREATE TABLE `person_zone_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `actividad_id` int(10) unsigned NOT NULL,
  `calculo_iibb` int(11) NOT NULL,
  `coef` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `alicuota` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `cm_articulo_regimen_id` int(10) unsigned NOT NULL DEFAULT '1',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_zone_actividad_person_id_foreign` (`person_id`),
  KEY `person_zone_actividad_zone_id_foreign` (`zone_id`),
  KEY `person_zone_actividad_actividad_id_foreign` (`actividad_id`),
  KEY `person_zone_actividad_cm_articulo_regimen_id_foreign` (`cm_articulo_regimen_id`),
  CONSTRAINT `person_zone_actividad_actividad_id_foreign` FOREIGN KEY (`actividad_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_zone_actividad_cm_articulo_regimen_id_foreign` FOREIGN KEY (`cm_articulo_regimen_id`) REFERENCES `cm_articulos_regimenes` (`id`),
  CONSTRAINT `person_zone_actividad_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zone_actividad_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=211 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zone_actividad`
--

INSERT INTO `person_zone_actividad` VALUES (161,7181,40719,1,1,1,0.00000,0.00000,1,1,'2023-04-17 02:48:32','2023-04-17 02:48:32',NULL),(162,7181,40719,1,855,1,0.00000,0.00000,1,1,'2023-04-17 02:48:32','2023-04-17 02:48:32',NULL),(163,7181,40719,22,855,1,0.00000,0.00000,1,1,'2023-04-17 02:48:32','2023-04-17 02:48:32',NULL),(169,7181,40755,1,784,1,0.00000,0.00000,1,1,'2023-05-19 04:26:55','2023-05-19 04:26:55',NULL),(174,7181,40765,1,156,1,0.00000,0.00000,1,1,'2023-05-19 20:10:03','2023-05-19 20:10:03',NULL),(175,7181,40766,1,769,1,0.00000,0.00000,1,1,'2023-05-19 20:39:45','2023-05-19 20:39:45',NULL),(176,7181,40766,1,713,1,0.00000,0.00000,1,1,'2023-05-19 20:39:45','2023-05-19 20:39:45',NULL),(177,7181,40767,1,946,1,0.00000,0.00000,1,1,'2023-05-19 20:50:02','2023-05-19 20:50:02',NULL),(178,7181,40746,1,654,1,0.00000,0.00000,1,1,'2023-05-19 20:51:59','2023-05-19 20:51:59',NULL),(179,7181,40746,18,654,1,0.00000,0.00000,1,1,'2023-05-19 20:51:59','2023-05-19 20:51:59',NULL),(182,7181,40754,1,655,1,0.00000,0.00000,1,1,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(183,7181,40754,1,437,1,0.00000,0.00000,1,1,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(184,7181,40754,1,659,1,0.00000,0.00000,1,1,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(185,7181,40754,1,436,1,0.00000,0.00000,1,1,'2023-05-19 20:55:00','2023-05-19 20:55:00',NULL),(186,7181,40761,1,224,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(187,7181,40761,1,222,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(188,7181,40761,1,223,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(189,7181,40761,23,224,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(190,7181,40761,23,222,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(191,7181,40761,23,223,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(192,7181,40761,14,224,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(193,7181,40761,14,222,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(194,7181,40761,14,223,1,0.00000,0.00000,1,1,'2023-05-19 21:16:24','2023-05-19 21:16:24',NULL),(195,7181,40762,1,654,1,0.00000,0.00000,1,1,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(196,7181,40762,1,655,1,0.00000,0.00000,1,1,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(197,7181,40762,1,660,1,0.00000,0.00000,1,1,'2023-05-19 21:17:44','2023-05-19 21:17:44',NULL),(198,7181,40768,1,843,1,0.00000,0.00000,1,1,'2023-05-19 22:02:15','2023-05-19 22:02:15',NULL),(199,7181,40769,1,656,1,0.00000,0.00000,1,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(200,7181,40769,2,656,1,0.00000,0.00000,1,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(201,7181,40769,9,656,1,0.00000,0.00000,1,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(202,7181,40769,18,656,1,0.00000,0.00000,1,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(203,7181,40769,19,656,1,0.00000,0.00000,1,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(204,7181,40769,8,656,1,0.00000,0.00000,1,1,'2023-05-19 22:17:05','2023-05-19 22:17:05',NULL),(205,7181,40749,1,660,1,0.00000,0.00000,1,1,'2023-05-22 00:49:27','2023-05-22 00:49:27',NULL),(206,7181,40749,1,790,1,0.00000,0.00000,1,1,'2023-05-22 00:49:27','2023-05-22 00:49:27',NULL),(209,7181,40764,1,709,1,0.00000,0.00000,1,1,'2023-07-01 01:06:59','2023-07-01 01:06:59',NULL),(210,7181,40763,1,438,1,0.00000,0.00000,1,1,'2024-02-02 20:38:19','2024-02-02 20:38:19',NULL);

--
-- Table structure for table `person_zones`
--

CREATE TABLE `person_zones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `sifere_coef` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `iibb_aliquot` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `zone_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `iibb_perception_id` int(10) unsigned DEFAULT NULL,
  `retention_id` int(10) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_zones_zone_id_foreign` (`zone_id`),
  KEY `person_zones_person_id_foreign` (`person_id`),
  CONSTRAINT `person_zones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zones_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=151 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zones`
--

INSERT INTO `person_zones` VALUES (116,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-04-17 02:48:32','2023-04-17 02:48:32',40719,NULL),(117,7181,0.0000,0.0000,22,0,NULL,NULL,NULL,'2023-04-17 02:48:32','2023-04-17 02:48:32',40719,NULL),(123,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 04:26:55','2023-05-19 04:26:55',40755,NULL),(128,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 20:10:03','2023-05-19 20:10:03',40765,NULL),(129,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 20:39:45','2023-05-19 20:39:45',40766,NULL),(130,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 20:50:02','2023-05-19 20:50:02',40767,NULL),(131,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 20:51:59','2023-05-19 20:51:59',40746,NULL),(132,7181,0.0000,0.0000,18,0,NULL,NULL,NULL,'2023-05-19 20:51:59','2023-05-19 20:51:59',40746,NULL),(134,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 20:55:00','2023-05-19 20:55:00',40754,NULL),(135,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 21:16:24','2023-05-19 21:16:24',40761,NULL),(136,7181,0.0000,0.0000,23,0,NULL,NULL,NULL,'2023-05-19 21:16:24','2023-05-19 21:16:24',40761,NULL),(137,7181,0.0000,0.0000,14,0,NULL,NULL,NULL,'2023-05-19 21:16:24','2023-05-19 21:16:24',40761,NULL),(138,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 21:17:44','2023-05-19 21:17:44',40762,NULL),(139,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 22:02:15','2023-05-19 22:02:15',40768,NULL),(140,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-19 22:17:05','2023-05-19 22:17:05',40769,NULL),(141,7181,0.0000,0.0000,2,0,NULL,NULL,NULL,'2023-05-19 22:17:05','2023-05-19 22:17:05',40769,NULL),(142,7181,0.0000,0.0000,9,0,NULL,NULL,NULL,'2023-05-19 22:17:05','2023-05-19 22:17:05',40769,NULL),(143,7181,0.0000,0.0000,18,0,NULL,NULL,NULL,'2023-05-19 22:17:05','2023-05-19 22:17:05',40769,NULL),(144,7181,0.0000,0.0000,19,0,NULL,NULL,NULL,'2023-05-19 22:17:05','2023-05-19 22:17:05',40769,NULL),(145,7181,0.0000,0.0000,8,0,NULL,NULL,NULL,'2023-05-19 22:17:05','2023-05-19 22:17:05',40769,NULL),(146,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-05-22 00:49:27','2023-05-22 00:49:27',40749,NULL),(149,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2023-07-01 01:06:59','2023-07-01 01:06:59',40764,NULL),(150,7181,0.0000,0.0000,1,1,NULL,NULL,NULL,'2024-02-02 20:38:19','2024-02-02 20:38:19',40763,NULL);

--
-- Table structure for table `persons`
--

CREATE TABLE `persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `field_name1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fantasy_name` text COLLATE utf8mb4_unicode_ci,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `field_name2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cond_frente_al_iva_id` int(10) unsigned DEFAULT NULL,
  `country_id` int(10) unsigned DEFAULT NULL,
  `state_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitud` decimal(10,7) DEFAULT NULL,
  `longitud` decimal(10,7) DEFAULT NULL,
  `localidad_id` int(10) unsigned DEFAULT NULL,
  `person_type_id` int(10) unsigned DEFAULT NULL,
  `fa_iva_condition_id` int(10) unsigned DEFAULT NULL,
  `fa_codigo_postal` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `email` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iva_per_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `iva_ret_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `obligation_iibb` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `document_UNIQUE` (`document`),
  KEY `persons_zone_id_foreign` (`zone_id`),
  KEY `persons_person_type_id_foreign` (`person_type_id`),
  KEY `persons_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `persons_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `persons_cond_frente_al_iva_id_foreign` (`cond_frente_al_iva_id`),
  KEY `persons_localidad_id_foreign` (`localidad_id`),
  KEY `persons_iva_ret_regimen_id_foreign` (`iva_ret_regimen_id`),
  KEY `persons_iva_per_regimen_id_foreign` (`iva_per_regimen_id`),
  CONSTRAINT `persons_cond_frente_al_iva_id_foreign` FOREIGN KEY (`cond_frente_al_iva_id`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `persons_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `persons_iva_per_regimen_id_foreign` FOREIGN KEY (`iva_per_regimen_id`) REFERENCES `iva_per_regimenes` (`id`),
  CONSTRAINT `persons_iva_ret_regimen_id_foreign` FOREIGN KEY (`iva_ret_regimen_id`) REFERENCES `iva_ret_regimenes` (`id`),
  CONSTRAINT `persons_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`),
  CONSTRAINT `persons_person_type_id_foreign` FOREIGN KEY (`person_type_id`) REFERENCES `person_types` (`id`),
  CONSTRAINT `persons_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `persons_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40770 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons`
--

INSERT INTO `persons` VALUES (3,NULL,'Larzabal Hernan',NULL,'3',NULL,'cuit','20-28468190-9',NULL,NULL,22,22,NULL,NULL,'2018-05-12 20:55:07','2018-05-14 01:54:15',1,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40717,NULL,'Taxes Software',NULL,'40717',NULL,'cuit','30-71625124-8',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40718,NULL,'Consumidor Final',NULL,'40718',NULL,'cuit','20-11111111-2',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40719,NULL,'Sartorelli Karina Elizabeth',NULL,'40719',NULL,'cuit','27-22541962-6',6,NULL,NULL,NULL,NULL,NULL,'2022-04-26 21:44:47','2025-07-04 15:05:23',NULL,'CATAMARCA 1018-JESUS MARIA-CBA',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40737,7181,'FIGUEROA TERESITA',NULL,'40737',NULL,'dni','5486706',6,NULL,1,1,NULL,NULL,'2022-07-28 22:25:13','2022-07-28 22:25:13',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40738,7181,'TRANSPORTE LATIMORI S.A.',NULL,'40738',NULL,'cuit','30-70745429-2',1,NULL,1,1,23,3,'2022-07-31 21:05:26','2022-07-31 21:05:26',NULL,'PEDRO CAPELLO 600',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40746,NULL,'TERVAL S.A.S',NULL,'40746',NULL,'cuit','30-71761587-1',1,NULL,NULL,NULL,NULL,NULL,'2022-11-19 04:18:46','2025-07-04 15:05:23',NULL,'Mtra. OLGA PROSDOCIMO N° 880- COLONIA CAROYA- CBA.',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40749,NULL,'FASSI CESAR EMANUEL',NULL,'40749',NULL,'cuit','20-32080092-8',1,NULL,NULL,NULL,NULL,NULL,'2022-11-19 04:33:48','2025-07-04 15:05:23',NULL,'Camino Rural s/n-Sinsacate-Cba',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40754,NULL,'COSEANI MARIO CESAR',NULL,'40754',NULL,'cuit','23-25139372-9',1,NULL,NULL,NULL,NULL,NULL,'2022-11-19 04:45:57','2025-07-04 15:05:23',NULL,'SANTOS NOBILE (N) N° 250- COLONIA CAROYA-CBA',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40755,NULL,'MERLO EMANUEL',NULL,'40755',NULL,'cuit','20-29423696-2',1,NULL,NULL,NULL,NULL,NULL,'2023-04-16 19:31:49','2025-07-04 15:05:23',NULL,'MAURICIO YADAROLA 190- JESUS MARIA-CBA.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40761,NULL,'FANTINI POSTES S.A.',NULL,'40761',NULL,'cuit','30-70904852-6',1,NULL,NULL,NULL,NULL,NULL,'2023-04-16 20:00:45','2025-07-04 15:05:23',NULL,'RUTA 9- KM 758- SINSACATE -CBA.',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40762,NULL,'GARRIDO MARTIN, JUAN JOSE',NULL,'40762',NULL,'cuit','20-27617386-4',1,NULL,NULL,NULL,NULL,NULL,'2023-04-16 20:22:29','2025-07-04 15:05:23',NULL,'CATAMARCA 234-JESUS MARIA-CBA.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40763,NULL,'BERTRAN IVANA VERONICA Y GILDA HEBE SH',NULL,'40763',NULL,'cuit','30-70745520-5',1,NULL,NULL,NULL,NULL,NULL,'2023-05-19 19:45:34','2025-07-04 15:05:23',NULL,'LA FLORIDA Y SANTA FE 690-JESUS MARIA-CBA',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40764,NULL,'AVILA HUGO MATIAS EZEQUIEL',NULL,'40764',NULL,'cuit','23-34556708-9',1,NULL,NULL,NULL,NULL,NULL,'2023-05-19 20:02:21','2025-07-04 15:05:23',NULL,'Fortunato Rizzi 1446-Colonia Caroya- Cba.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40765,NULL,'LONDERO JULIO LUIS',NULL,'40765',NULL,'cuit','23-07960781-9',1,NULL,NULL,NULL,NULL,NULL,'2023-05-19 20:09:21','2025-07-04 15:05:23',NULL,'BELGRANO Y ALMAFUERTE - JESUS MARIA-CBA.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40766,NULL,'COSEANI FERNANDO MATIAS',NULL,'40766',NULL,'cuit','20-36725616-9',6,NULL,NULL,NULL,NULL,NULL,'2023-05-19 20:39:45','2025-07-04 15:05:23',NULL,'Chaco 583-Jesus Maria-Cba.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40767,NULL,'MOYANO RODOLFO DARIO',NULL,'40767',NULL,'cuit','20-28372989-4',1,NULL,NULL,NULL,NULL,NULL,'2023-05-19 20:50:02','2025-07-04 15:05:23',NULL,'Calle 2 (N) 72-Colonia Caroya-Cba.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40768,NULL,'RODRIGUEZ MARIO',NULL,'40768',NULL,'cuit','20-10664205-3',1,NULL,NULL,NULL,NULL,NULL,'2023-05-19 22:02:15','2025-07-04 15:05:23',NULL,'España 248- Jesus Maria- Cba.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40769,NULL,'PECORARI SANTIAGO JAVIER',NULL,'40769',NULL,'cuit','20-24778502-8',1,NULL,NULL,NULL,NULL,NULL,'2023-05-19 22:17:05','2025-07-04 15:05:23',NULL,'Vicente Agüero (S) 2010- Colonia Caroya-Cba.',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `persons_custom_form`
--

CREATE TABLE `persons_custom_form` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `p_c_servicio_id` bigint(20) unsigned NOT NULL,
  `configuracion` json NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_custom_form_person_id_foreign` (`person_id`),
  KEY `persons_custom_form_p_c_servicio_id_foreign` (`p_c_servicio_id`),
  CONSTRAINT `persons_custom_form_p_c_servicio_id_foreign` FOREIGN KEY (`p_c_servicio_id`) REFERENCES `persons_custom_servicios` (`id`),
  CONSTRAINT `persons_custom_form_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_custom_form`
--


--
-- Table structure for table `persons_custom_servicios`
--

CREATE TABLE `persons_custom_servicios` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_custom_servicios`
--

INSERT INTO `persons_custom_servicios` VALUES (1,NULL,'Ordenes de Trabajo',0,NULL,NULL,NULL),(2,NULL,'Formularios Ordenes',0,'2025-07-06 23:48:13','2025-07-06 23:48:13',NULL),(3,NULL,'Formulario Receipts',0,'2025-07-09 15:41:55','2025-07-09 15:41:55',NULL);

--
-- Table structure for table `persons_datos`
--

CREATE TABLE `persons_datos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dato_1` longtext COLLATE utf8mb4_unicode_ci,
  `dato_2` longtext COLLATE utf8mb4_unicode_ci,
  `dato_3` longtext COLLATE utf8mb4_unicode_ci,
  `dato_4` longtext COLLATE utf8mb4_unicode_ci,
  `dato_5` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_datos_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_datos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_datos`
--


--
-- Table structure for table `persons_files`
--

CREATE TABLE `persons_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_files_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_files`
--


--
-- Table structure for table `persons_sicore`
--

CREATE TABLE `persons_sicore` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL,
  `sicore_regimen_id` bigint(20) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_sicore_person_id_foreign` (`person_id`),
  KEY `persons_sicore_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  CONSTRAINT `persons_sicore_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `persons_sicore_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_sicore`
--


--
-- Table structure for table `plazo_de_pago`
--

CREATE TABLE `plazo_de_pago` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plazo_de_pago`
--

INSERT INTO `plazo_de_pago` VALUES (1,NULL,'0 dias FF',1,NULL,NULL,NULL),(2,NULL,'7 dias FF',1,NULL,NULL,NULL),(3,NULL,'15 dias FF',1,NULL,NULL,NULL),(4,NULL,'30 dias FF',1,NULL,NULL,NULL),(5,NULL,'45 dias FF',1,NULL,NULL,NULL),(6,NULL,'60 dias FF',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_comunicaciones`
--

CREATE TABLE `ppc_comunicaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_comunicaciones_type_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `is_propio` tinyint(1) NOT NULL DEFAULT '0',
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `ppc_user_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_comunicaciones_ppc_comunicaciones_type_id_foreign` (`ppc_comunicaciones_type_id`),
  KEY `ppc_comunicaciones_person_id_foreign` (`person_id`),
  KEY `ppc_comunicaciones_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_comunicaciones_ppc_type_id_foreign` (`ppc_type_id`),
  KEY `ppc_comunicaciones_ppc_user_id_foreign` (`ppc_user_id`),
  CONSTRAINT `ppc_comunicaciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_comunicaciones_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_comunicaciones_type_id_foreign` FOREIGN KEY (`ppc_comunicaciones_type_id`) REFERENCES `ppc_comunicaciones_types` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_user_id_foreign` FOREIGN KEY (`ppc_user_id`) REFERENCES `ppc_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones`
--


--
-- Table structure for table `ppc_comunicaciones_files`
--

CREATE TABLE `ppc_comunicaciones_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_comunicacion_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_comunicaciones_files_ppc_comunicacion_id_foreign` (`ppc_comunicacion_id`),
  CONSTRAINT `ppc_comunicaciones_files_ppc_comunicacion_id_foreign` FOREIGN KEY (`ppc_comunicacion_id`) REFERENCES `ppc_comunicaciones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones_files`
--


--
-- Table structure for table `ppc_comunicaciones_types`
--

CREATE TABLE `ppc_comunicaciones_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones_types`
--

INSERT INTO `ppc_comunicaciones_types` VALUES (1,NULL,'Legajos',1,NULL,NULL,NULL),(2,NULL,'Notificaciones',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_receipts`
--

CREATE TABLE `ppc_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `ppc_user_id` bigint(20) unsigned NOT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `was_leida` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `file` text COLLATE utf8mb4_unicode_ci,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `sucursal` int(11) DEFAULT NULL,
  `numero` int(11) DEFAULT NULL,
  `fecha_emision` date NOT NULL,
  `fecha_vto` date DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `subtotal` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuestos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `forma_de_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `documento_asoc` text COLLATE utf8mb4_unicode_ci,
  `ppc_receipt_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `comentario_recepcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_receipts_type_id_foreign` (`type_id`),
  KEY `ppc_receipts_person_id_foreign` (`person_id`),
  KEY `ppc_receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_receipts_ppc_type_id_foreign` (`ppc_type_id`),
  KEY `ppc_receipts_ppc_user_id_foreign` (`ppc_user_id`),
  KEY `ppc_receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `ppc_receipts_moneda_id_foreign` (`moneda_id`),
  KEY `ppc_receipts_forma_de_entrega_id_foreign` (`forma_de_entrega_id`),
  KEY `ppc_receipts_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `ppc_receipts_ppc_receipt_estado_id_foreign` (`ppc_receipt_estado_id`),
  CONSTRAINT `ppc_receipts_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `ppc_receipts_forma_de_entrega_id_foreign` FOREIGN KEY (`forma_de_entrega_id`) REFERENCES `forma_de_entrega` (`id`),
  CONSTRAINT `ppc_receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `ppc_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_receipts_ppc_receipt_estado_id_foreign` FOREIGN KEY (`ppc_receipt_estado_id`) REFERENCES `ppc_receipts_estados` (`id`),
  CONSTRAINT `ppc_receipts_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`),
  CONSTRAINT `ppc_receipts_ppc_user_id_foreign` FOREIGN KEY (`ppc_user_id`) REFERENCES `ppc_users` (`id`),
  CONSTRAINT `ppc_receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `ppc_receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts`
--


--
-- Table structure for table `ppc_receipts_estados`
--

CREATE TABLE `ppc_receipts_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts_estados`
--

INSERT INTO `ppc_receipts_estados` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Rechazado',1,NULL,NULL,NULL),(3,NULL,'Aprobado',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_receipts_files`
--

CREATE TABLE `ppc_receipts_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_receipt_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_receipts_files_ppc_receipt_id_foreign` (`ppc_receipt_id`),
  CONSTRAINT `ppc_receipts_files_ppc_receipt_id_foreign` FOREIGN KEY (`ppc_receipt_id`) REFERENCES `ppc_receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts_files`
--


--
-- Table structure for table `ppc_types`
--

CREATE TABLE `ppc_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_types`
--

INSERT INTO `ppc_types` VALUES (1,NULL,'Proveedor',1,NULL,NULL,NULL),(2,NULL,'Cliente',1,NULL,NULL,NULL),(3,NULL,'Ambos',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_users`
--

CREATE TABLE `ppc_users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `person_id_ppc_user` int(10) unsigned NOT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `login_user` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '1',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ppc_users_person_id_foreign` (`person_id`),
  KEY `ppc_users_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_users_person_id_ppc_user_foreign` (`person_id_ppc_user`),
  KEY `ppc_users_ppc_type_id_foreign` (`ppc_type_id`),
  CONSTRAINT `ppc_users_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_person_id_ppc_user_foreign` FOREIGN KEY (`person_id_ppc_user`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_users`
--


--
-- Table structure for table `pre_facturas`
--

CREATE TABLE `pre_facturas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `fecha_facturado` date DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pre_facturas_person_id_foreign` (`person_id`),
  KEY `pre_facturas_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `pre_facturas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `pre_facturas_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `pre_facturas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `pre_facturas_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas`
--


--
-- Table structure for table `pre_facturas_files`
--

CREATE TABLE `pre_facturas_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `pre_factura_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pre_facturas_files_pre_factura_id_foreign` (`pre_factura_id`),
  CONSTRAINT `pre_facturas_files_pre_factura_id_foreign` FOREIGN KEY (`pre_factura_id`) REFERENCES `pre_facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas_files`
--


--
-- Table structure for table `pre_facturas_ots`
--

CREATE TABLE `pre_facturas_ots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `pre_factura_id` bigint(20) unsigned NOT NULL,
  `inv_ot_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pre_facturas_ots_pre_factura_id_foreign` (`pre_factura_id`),
  KEY `pre_facturas_ots_inv_ot_id_foreign` (`inv_ot_id`),
  CONSTRAINT `pre_facturas_ots_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `pre_facturas_ots_pre_factura_id_foreign` FOREIGN KEY (`pre_factura_id`) REFERENCES `pre_facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas_ots`
--


--
-- Table structure for table `presupuesto_config`
--

CREATE TABLE `presupuesto_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `presupuesto_config_person_id_foreign` (`person_id`),
  CONSTRAINT `presupuesto_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuesto_config`
--

INSERT INTO `presupuesto_config` VALUES (1,7181,40719,0,'2022-07-28 22:19:24','2022-07-28 22:19:24',NULL);

--
-- Table structure for table `presupuestos`
--

CREATE TABLE `presupuestos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-23',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '7',
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `texto` longtext COLLATE utf8mb4_unicode_ci,
  `iva_si_no` tinyint(1) NOT NULL DEFAULT '0',
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `presupuestos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `presupuestos_person_id_foreign` (`person_id`),
  KEY `presupuestos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `presupuestos_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `presupuestos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `presupuestos_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuestos`
--


--
-- Table structure for table `prod_variant_types`
--

CREATE TABLE `prod_variant_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variant_types_person_id_foreign` (`person_id`),
  CONSTRAINT `prod_variant_types_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variant_types`
--


--
-- Table structure for table `prod_variant_values`
--

CREATE TABLE `prod_variant_values` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `prod_variant_type_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variant_values_person_id_foreign` (`person_id`),
  KEY `prod_variant_values_prod_variant_type_id_foreign` (`prod_variant_type_id`),
  CONSTRAINT `prod_variant_values_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `prod_variant_values_prod_variant_type_id_foreign` FOREIGN KEY (`prod_variant_type_id`) REFERENCES `prod_variant_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variant_values`
--


--
-- Table structure for table `prod_variants`
--

CREATE TABLE `prod_variants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variants_person_id_foreign` (`person_id`),
  KEY `prod_variants_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `prod_variants_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `prod_variants_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variants`
--


--
-- Table structure for table `prod_variants_detail`
--

CREATE TABLE `prod_variants_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `prod_variant_id` bigint(20) unsigned NOT NULL,
  `prod_variant_value_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prod_variants_detail_prod_variant_id_foreign` (`prod_variant_id`),
  KEY `prod_variants_detail_prod_variant_value_id_foreign` (`prod_variant_value_id`),
  CONSTRAINT `prod_variants_detail_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`),
  CONSTRAINT `prod_variants_detail_prod_variant_value_id_foreign` FOREIGN KEY (`prod_variant_value_id`) REFERENCES `prod_variant_values` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variants_detail`
--


--
-- Table structure for table `querys`
--

CREATE TABLE `querys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys`
--

INSERT INTO `querys` VALUES (1,NULL,'Factura Electronica Masiva Productos',1,'2022-04-26 15:45:11','2022-04-26 15:45:11',NULL);

--
-- Table structure for table `querys_details`
--

CREATE TABLE `querys_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `query_id` bigint(20) unsigned NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `querys_details_query_id_foreign` (`query_id`),
  KEY `querys_details_person_id_foreign` (`person_id`),
  CONSTRAINT `querys_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `querys_details_query_id_foreign` FOREIGN KEY (`query_id`) REFERENCES `querys` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys_details`
--


--
-- Table structure for table `queue_proceso_resultado`
--

CREATE TABLE `queue_proceso_resultado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `queue_proceso_id` int(10) unsigned DEFAULT NULL,
  `resultado` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `queue_proceso_resultado_queue_proceso_id_foreign` (`queue_proceso_id`),
  CONSTRAINT `queue_proceso_resultado_queue_proceso_id_foreign` FOREIGN KEY (`queue_proceso_id`) REFERENCES `queue_procesos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_proceso_resultado`
--


--
-- Table structure for table `queue_procesos`
--

CREATE TABLE `queue_procesos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_procesos`
--

INSERT INTO `queue_procesos` VALUES (1,NULL,'Importar - Excel',NULL,NULL,NULL),(2,NULL,'Importar - Mis Comprobantes',NULL,NULL,NULL),(3,NULL,'Importar - Portal IVA','2022-04-26 15:45:12','2022-04-26 15:45:12',NULL),(4,NULL,'Importar - Archivos PEM F8011','2022-07-10 23:07:17','2022-07-10 23:07:17',NULL);

--
-- Table structure for table `receipt_dc_ordenes`
--

CREATE TABLE `receipt_dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_id_oc` bigint(20) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_dc_ordenes_receipt_id_foreign` (`receipt_id`),
  KEY `receipt_dc_ordenes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `receipt_dc_ordenes_dc_orden_id_oc_foreign` (`dc_orden_id_oc`),
  CONSTRAINT `receipt_dc_ordenes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipt_dc_ordenes_dc_orden_id_oc_foreign` FOREIGN KEY (`dc_orden_id_oc`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipt_dc_ordenes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_dc_ordenes`
--


--
-- Table structure for table `receipt_taxes`
--

CREATE TABLE `receipt_taxes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `tax_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `taxable_iibb` int(11) NOT NULL DEFAULT '0',
  `iva_iibb` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_taxes_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `receipt_taxes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_taxes`
--


--
-- Table structure for table `receipt_types`
--

CREATE TABLE `receipt_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `credit` int(11) DEFAULT '0',
  `agroup_iva_module` int(10) unsigned DEFAULT NULL,
  `sell_no_taxabled` int(11) DEFAULT '0',
  `buy_no_taxabled` int(11) DEFAULT '0',
  `iva_condition_id` int(11) DEFAULT NULL,
  `is_fce_pyme` tinyint(1) NOT NULL DEFAULT '0',
  `afip_comprobante_id` int(11) DEFAULT NULL,
  `tipo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `letra` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facta_electronica` int(10) unsigned NOT NULL DEFAULT '0',
  `is_stock_lpg` tinyint(1) NOT NULL DEFAULT '0',
  `show_from_total` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_types`
--

INSERT INTO `receipt_types` VALUES (1,NULL,NULL,'2019-07-29 22:19:32','Factura A','1',0,1,0,0,2,0,1,'Factura','A',1,0,0,NULL),(2,NULL,NULL,'2019-07-29 22:19:32','Nota de débito A','2',0,1,0,0,2,0,2,'Nota de Débito','A',1,0,0,NULL),(3,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito A','3',1,NULL,0,0,2,0,3,'Nota de Crédito','A',1,0,0,NULL),(4,NULL,NULL,'2025-05-08 09:37:29','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2025-05-08 09:37:29','Nota de débito B','7',0,2,0,1,2,0,7,'Nota de Débito','B',1,0,1,NULL),(6,NULL,NULL,'2025-05-08 09:37:29','Nota de crédito B','8',1,NULL,0,1,2,0,8,'Nota de Crédito','B',1,0,1,NULL),(7,NULL,NULL,'2019-07-29 22:19:32','Factura C','11',0,0,1,1,1,0,11,'Factura','C',1,0,0,NULL),(8,NULL,NULL,'2019-07-29 22:19:32','Nota de débito C','12',0,0,1,1,1,0,12,'Nota de Débito','C',1,0,0,NULL),(9,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito C','13',1,NULL,1,1,1,0,13,'Nota de Crédito','C',1,0,0,NULL),(10,NULL,NULL,NULL,'RECIBO A','4',0,1,0,0,2,0,4,'RECIBO','A',0,0,0,NULL),(11,NULL,NULL,'2025-05-08 09:37:29','RECIBO B','9',0,2,0,1,2,0,9,'RECIBO','B',0,0,1,NULL),(12,NULL,NULL,NULL,'RECIBO C','15',0,0,1,1,1,0,15,'RECIBO','C',0,0,0,NULL),(13,NULL,NULL,'2020-02-27 02:46:40','Factura E','19',0,0,1,0,2,0,19,'Factura','E',0,0,0,NULL),(14,NULL,NULL,'2020-02-27 02:46:40','Nota de débito E','20',0,0,1,0,2,0,20,'Nota de Débito','E',0,0,0,NULL),(15,NULL,NULL,'2020-02-27 02:46:40','Nota de Crédito E','21',1,NULL,1,0,2,0,21,'Nota de Crédito','E',0,0,0,NULL),(16,NULL,NULL,'2022-04-26 15:45:09','Factura M','51',0,1,0,0,2,0,51,'Factura','M',1,0,0,NULL),(17,NULL,NULL,'2020-02-27 02:46:40','Despacho de Importacion','66',0,NULL,0,0,0,0,66,NULL,NULL,0,0,0,NULL),(18,NULL,NULL,'2022-04-26 15:45:09','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',1,0,0,NULL),(19,NULL,NULL,'2022-04-26 15:45:09','Nota de Debito M','52',1,1,0,0,2,0,52,'Nota de Débito','M',1,0,0,NULL),(20,NULL,NULL,NULL,'Recibo M','54',0,1,0,0,2,0,54,'RECIBO','M',0,0,0,NULL),(21,NULL,NULL,NULL,'Recibo E',NULL,1,0,1,0,2,0,NULL,'RECIBO','E',0,0,0,NULL),(22,NULL,'2019-05-14 21:22:16','2022-04-26 15:45:00','Liquidacion Primaria de Granos','33',0,1,0,0,2,0,33,'Liquidacion Primaria de Granos','A',0,1,0,NULL),(23,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A','201',0,1,0,0,2,1,201,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(24,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A','202',0,1,0,0,2,1,202,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(25,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A','203',1,NULL,0,0,2,1,203,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(26,NULL,'2019-11-05 19:00:05','2025-05-08 09:37:29','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B','206',0,2,0,1,2,1,206,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(27,NULL,'2019-11-05 19:00:05','2025-05-08 09:37:29','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B','207',0,2,0,1,2,1,207,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(28,NULL,'2019-11-05 19:00:05','2025-05-08 09:37:29','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B','208',1,NULL,0,1,2,1,208,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(29,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','211',0,0,1,1,1,1,211,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(30,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C','212',0,0,1,1,1,1,212,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(31,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','213',1,NULL,1,1,1,1,213,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL);
INSERT INTO `receipt_types` VALUES (32,NULL,'2020-01-28 01:59:55','2022-04-26 15:45:00','Tique (Informe Diario Z)','83',0,2,0,0,2,0,83,'Cierre Diario Informe Z','Z',0,0,1,NULL),(33,NULL,'2020-02-19 04:48:11','2020-02-19 04:48:11','Comprobantes de Compra de Bienes No Registrables a Consumidores Finales','49',0,1,0,0,2,0,49,'Comprobantes de Compra de Bienes No Registrables','a Consumidores Finales',0,0,0,NULL),(34,NULL,'2022-04-26 15:44:57','2022-08-17 11:25:15','Cuenta de Venta y Líquido Producto A','60',0,1,0,0,2,1,60,'Cuentas de Venta y Liquido Producto A','A',1,0,0,NULL),(35,NULL,'2022-04-26 15:44:57','2025-05-08 09:37:29','Cuenta de Venta y Líquido Producto B','61',0,2,0,1,2,1,61,'Cuentas de Venta y Liquido Producto B','B',1,0,1,NULL),(36,NULL,'2022-04-26 15:44:57','2022-04-26 15:45:01','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2022-04-26 15:44:57','2025-05-08 09:37:29','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2022-04-26 15:45:00','2022-04-26 15:45:04','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2022-04-26 15:45:00','2025-05-08 09:37:29','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2022-04-26 15:45:00','2022-04-26 15:45:07','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF','99',0,1,1,1,1,1,99,'OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF ','OTROS',0,0,0,NULL),(41,NULL,'2022-04-26 15:45:01','2022-04-26 15:45:01','Liquidacion de Compra A - Sector Pecuario','183',0,1,0,0,2,0,183,'Liquidacion de Compra','A',0,0,0,NULL),(42,NULL,'2022-04-26 15:45:01','2025-05-08 09:37:29','Liquidacion de Compra B - Sector Pecuario','185',0,2,0,1,2,0,185,'Liquidacion de Compra','B',0,0,1,NULL),(43,NULL,'2022-04-26 15:45:03','2022-04-26 15:45:04','Liquidacion de Venta Directa A - Sector Pecuario','190',0,1,0,0,2,1,190,'Liquidacion de Venta Directa','A',0,0,0,NULL),(44,NULL,'2022-04-26 15:45:03','2025-05-08 09:37:29','Liquidacion de Venta Directa B - Sector Pecuario','191',0,2,0,1,2,1,191,'Liquidacion de Venta Directa','B',0,0,0,NULL),(45,NULL,'2022-04-26 15:45:04','2022-04-26 15:45:04','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2022-04-26 15:45:04','2022-04-26 15:45:04','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2022-04-26 15:45:04','2022-04-26 15:45:04','Liquidacion de Servicios Publicos Clase A','17',0,1,0,0,2,1,17,'Liquidacion de Servicios Publicos Clase A','LSPCA',0,0,0,NULL),(48,NULL,'2022-04-26 15:45:07','2022-04-26 15:45:07','Liquidacion de Servicios Publicos Clase B','18',0,2,0,1,2,1,18,'Liquidacion de Servicios Publicos Clase B','LSPCA',1,0,0,NULL),(49,NULL,NULL,NULL,'Factura Clase T','195',0,1,0,0,2,0,195,'Factura Clase T','T',0,0,0,NULL),(50,NULL,NULL,NULL,'Nota de Debito Clase T','196',0,1,0,0,2,0,196,'Factura Clase T','T',0,0,0,NULL),(51,NULL,NULL,NULL,'Nota de Credito Clase T','197',1,NULL,0,0,2,0,197,'Factura Clase T','T',0,0,0,NULL),(52,NULL,NULL,'2022-08-17 11:25:15','Cuenta de Venta y Líquido Producto A - Sector Pecuario','180',0,1,0,0,2,0,180,'Cuenta de Venta y Líquido Producto A','A',0,0,0,NULL),(53,NULL,NULL,'2025-05-08 09:37:29','Cuenta de Venta y Líquido Producto B - Sector Pecuario','182',0,2,0,1,2,0,182,'Cuenta de Venta y Líquido Producto B','B',0,0,0,NULL),(54,NULL,NULL,NULL,'Liquidación de Compra A','183',0,1,0,0,2,0,183,'Liquidación de Compra A ','A',0,0,0,NULL),(55,NULL,NULL,'2025-05-08 09:37:29','Liquidación de Compra B','185',0,2,0,1,2,0,185,'Liquidación de Compra B ','B',0,0,0,NULL),(56,NULL,NULL,NULL,'Liquidación de Compra Directa A','186',0,1,0,0,2,0,186,'Liquidación de Compra Directa A','A',0,0,0,NULL),(57,NULL,NULL,'2025-05-08 09:37:29','Liquidación de Compra Directa B','188',0,2,0,1,2,0,188,'Liquidación de Compra Directa B ','B',0,0,0,NULL);
INSERT INTO `receipt_types` VALUES (58,NULL,NULL,NULL,'Liquidación de Compra Directa C','189',0,0,1,1,1,0,189,'Liquidación de Compra Directa C ','C',0,0,0,NULL),(59,NULL,NULL,NULL,'Liquidación de Venta Directa A','190',0,1,0,0,2,0,190,'Liquidación de Venta Directa A','A',0,0,0,NULL),(60,NULL,NULL,'2025-05-08 09:37:29','Liquidación de Venta Directa B','191',0,2,0,1,2,0,191,'Liquidación de Venta Directa B ','B',0,0,0,NULL),(61,NULL,NULL,NULL,'Tique Factura C','109',0,0,0,1,1,0,109,NULL,'C',1,0,0,NULL),(62,NULL,NULL,NULL,'Tique Nota de Débito A','115',0,1,0,0,2,0,115,'Tique Nota de Débito A','A',1,0,0,NULL),(63,NULL,NULL,NULL,'Tique Nota de Crédito C','114',1,0,1,1,1,0,114,'Tique Nota de Crédito C','C',1,0,0,NULL),(64,NULL,NULL,NULL,'Otro Comprobante A que cumple con la RG 1415','39',0,1,0,0,2,0,39,'Otro Comprobante A que cumple con la RG 1415','A',0,0,0,NULL),(65,NULL,NULL,NULL,'Tique Nota de Crédito A','112',1,0,0,0,2,0,112,'Tique Nota de Crédito A','A',0,0,0,NULL),(66,NULL,NULL,'2025-05-08 09:37:29','Tique Nota de Crédito B','113',1,NULL,0,1,2,0,113,'Tique Nota de Crédito B','B',0,0,0,NULL),(67,NULL,NULL,'2025-05-08 09:37:29','Tique Nota de Debito B','116',0,2,0,1,2,0,116,'Tique Nota de Debito B','B',0,0,0,NULL),(68,NULL,NULL,NULL,'Tique Nota de Debito C','117',0,0,1,1,1,0,117,'Tique Nota de Debito C','C',0,0,0,NULL),(69,NULL,NULL,NULL,'Tique Factura M','118',0,1,0,0,2,0,118,'Tique Factura M','M',0,0,0,NULL),(70,NULL,NULL,NULL,'Tique Nota de Credito M','119',1,NULL,0,0,2,0,119,'Tique Nota de Credito M','M',0,0,0,NULL),(71,NULL,NULL,NULL,'Tique Nota de Debito M','120',0,1,0,0,2,0,120,'Tique Nota de Debito M','M',0,0,0,NULL),(72,NULL,NULL,NULL,'Nota Credito Despacho Importacion','6',1,NULL,0,0,2,0,66,NULL,NULL,0,0,0,NULL),(73,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO A','5',0,1,0,0,2,0,5,'NOTAS DE VENTA AL CONTADO A','A',0,0,0,NULL),(74,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO B','10',0,2,0,0,2,0,10,'NOTAS DE VENTA AL CONTADO B','B',0,0,0,NULL),(75,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO C','16',0,0,1,1,1,0,16,'NOTAS DE VENTA AL CONTADO C','C',0,0,0,NULL),(76,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO M','55',0,1,0,0,2,0,55,'NOTAS DE VENTA AL CONTADO M','M',0,0,0,NULL),(77,NULL,NULL,NULL,'CUENTAS DE VENTA Y LIQUIDO PRODUCTO M','58',0,1,0,0,2,0,58,'CUENTAS DE VENTA Y LIQUIDO PRODUCTO M','M',0,0,0,NULL);

--
-- Table structure for table `receipts`
--

CREATE TABLE `receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `type_id` int(10) unsigned NOT NULL,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `comprobanteAfip` int(11) DEFAULT NULL,
  `ppc_receipt_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `conta_centro_costo_id` bigint(20) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned NOT NULL DEFAULT '1',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `person_id_owner` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `number` int(8) unsigned zerofill DEFAULT NULL,
  `hasta` int(8) unsigned zerofill DEFAULT NULL,
  `reference` int(11) DEFAULT NULL,
  `receipt_date` date DEFAULT NULL,
  `expiration_date` date DEFAULT NULL,
  `code_ticket` int(4) unsigned zerofill DEFAULT NULL,
  `status_id` int(10) unsigned DEFAULT NULL,
  `tax_account_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `pendiente` decimal(16,2) NOT NULL DEFAULT '0.00',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipts_type_id_foreign` (`type_id`),
  KEY `receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `receipts_tax_account_id_foreign` (`tax_account_id`),
  KEY `receipts_zone_id_foreign` (`zone_id`),
  KEY `receipts_activity_id_foreign` (`activity_id`),
  KEY `receipts_retention_type_id_foreign` (`retention_type_id`),
  KEY `receipts_status_id_foreign` (`status_id`),
  KEY `receipts_person_id_owner_foreign` (`person_id_owner`),
  KEY `receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `receipts_period_id_foreign` (`period_id`),
  KEY `receipts_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `receipts_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `receipts_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `receipts_conta_centro_costo_id_foreign` (`conta_centro_costo_id`),
  KEY `receipts_moneda_id_foreign` (`moneda_id`),
  KEY `receipts_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `receipts_ppc_receipt_id_foreign` (`ppc_receipt_id`),
  KEY `receipts_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  CONSTRAINT `receipts_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `receipts_conta_centro_costo_id_foreign` FOREIGN KEY (`conta_centro_costo_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `receipts_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `receipts_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `receipts_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `receipts_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `receipts_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `receipts_person_id_owner_foreign` FOREIGN KEY (`person_id_owner`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `receipts_ppc_receipt_id_foreign` FOREIGN KEY (`ppc_receipt_id`) REFERENCES `ppc_receipts` (`id`),
  CONSTRAINT `receipts_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `receipts_status_id_foreign` FOREIGN KEY (`status_id`) REFERENCES `status` (`id`),
  CONSTRAINT `receipts_tax_account_id_foreign` FOREIGN KEY (`tax_account_id`) REFERENCES `tax_accounts` (`id`),
  CONSTRAINT `receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `receipts_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipts`
--

INSERT INTO `receipts` VALUES (1,7181,0,3,1,NULL,NULL,NULL,NULL,4,NULL,NULL,NULL,NULL,1,1,40719,40738,00003367,00003367,123456,'2022-02-01',NULL,0025,1,NULL,44945.96,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2022-07-31 21:08:28','2022-07-31 21:08:28',NULL);

--
-- Table structure for table `recibo_config`
--

CREATE TABLE `recibo_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recibo_config_person_id_foreign` (`person_id`),
  CONSTRAINT `recibo_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibo_config`
--

INSERT INTO `recibo_config` VALUES (1,7181,40719,0,'2022-07-28 22:19:24','2022-07-28 22:19:24',NULL);

--
-- Table structure for table `recibos`
--

CREATE TABLE `recibos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-13',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `ret_ganancias` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iibb` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_internos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_municipales` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_otros_tributos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recibos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `recibos_person_id_foreign` (`person_id`),
  KEY `recibos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `recibos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `recibos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `recibos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `recibos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `recibos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibos`
--

INSERT INTO `recibos` VALUES (1,7181,'2022-07-29',1,1,40719,40737,1,6,1500.00,'<p><strong>ATENCION 06*2022</strong></p>',0.00,0.00,0.00,0.00,0.00,0.00,1500.00,NULL,'2022-07-29 04:21:25','2022-07-29 04:21:25',NULL);

--
-- Table structure for table `remito_config`
--

CREATE TABLE `remito_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `remito_config_person_id_foreign` (`person_id`),
  CONSTRAINT `remito_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remito_config`
--

INSERT INTO `remito_config` VALUES (1,7181,40719,0,'2022-07-28 22:19:25','2022-07-28 22:19:25',NULL);

--
-- Table structure for table `remitos`
--

CREATE TABLE `remitos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2020-05-25',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `remitos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `remitos_person_id_foreign` (`person_id`),
  KEY `remitos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `remitos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `remitos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `remitos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `remitos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `remitos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remitos`
--


--
-- Table structure for table `reportes`
--

CREATE TABLE `reportes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` int(10) unsigned NOT NULL,
  `class_description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `reportes_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reportes`
--

INSERT INTO `reportes` VALUES (1,'Comprobantes',1,'informes','','reportes/informes/comprobantes/comprobantes',NULL,NULL),(3,'Liquidaciones IIBB',1,'informes','','reportes/informes/iibb/iibb',NULL,NULL),(4,'Tablero de Control',3,'tablero','','reportes/tableroControl/index',NULL,NULL),(5,'Liquidaciones IVA',1,'informes','','reportes/informes/iva/iva',NULL,NULL),(6,'Obligaciones Anuales',1,'informes','','reportes/informes/obligaciones_anuales/index','2019-11-29 18:37:49','2019-11-29 18:37:49'),(7,'Estado CUITs',1,'informes','','reportes/informes/control_cuits/index','2019-12-09 00:50:43','2019-12-09 00:50:43');

--
-- Table structure for table `retention_types`
--

CREATE TABLE `retention_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apply_to` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'iibb',
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `retention_types_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `retention_types_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retention_types`
--

INSERT INTO `retention_types` VALUES (1,NULL,NULL,'Retenciones de Ganancias','ganancias','GAN',NULL,23),(2,NULL,NULL,'Retenciones de SUSS','sus','SUSS',NULL,162),(3,NULL,NULL,'Retenciones de IVA','iva','Ret IVA',NULL,25),(4,NULL,'2022-04-26 15:45:02','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2022-04-26 15:45:02','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2022-04-26 15:45:02','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2022-04-26 15:45:02','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2022-04-26 15:45:02','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2022-04-26 15:45:02','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2022-04-26 15:45:02','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2022-04-26 15:45:02','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2022-04-26 15:45:02','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2022-04-26 15:45:02','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2022-04-26 15:45:02','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2022-04-26 15:45:02','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2022-04-26 15:45:02','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2022-04-26 15:45:02','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2022-04-26 15:45:02','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2022-04-26 15:45:02','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2022-04-26 15:45:02','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2022-04-26 15:45:02','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2022-04-26 15:45:02','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2022-04-26 15:45:02','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2022-04-26 15:45:02','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2022-04-26 15:45:02','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2022-04-26 15:45:02','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2022-04-26 15:45:02','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2022-04-26 15:45:02','Retencion IIBB de Tucuman','iibb',NULL,21,275);

--
-- Table structure for table `retentions`
--

CREATE TABLE `retentions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_detail_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `retention_type_id` int(10) unsigned NOT NULL,
  `sicore_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` date NOT NULL DEFAULT '2023-05-30',
  `anio` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL DEFAULT '1',
  `neto_gravado_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_acum_mes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `monto_no_sujeto_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tasa_aplicable` decimal(16,2) NOT NULL DEFAULT '0.00',
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retencion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `retentions_person_id_foreign` (`person_id`),
  KEY `retentions_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `retentions_period_id_foreign` (`period_id`),
  KEY `retentions_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `retentions_retention_type_id_foreign` (`retention_type_id`),
  KEY `retentions_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  KEY `retentions_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  CONSTRAINT `retentions_cta_cte_cliente_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`id`),
  CONSTRAINT `retentions_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `retentions_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `retentions_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `retentions_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `retentions_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `retentions_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retentions`
--


--
-- Table structure for table `retentions_details`
--

CREATE TABLE `retentions_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `retention_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `retentions_details_retention_id_foreign` (`retention_id`),
  KEY `retentions_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `retentions_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`),
  CONSTRAINT `retentions_details_retention_id_foreign` FOREIGN KEY (`retention_id`) REFERENCES `retentions` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retentions_details`
--


--
-- Table structure for table `rodados`
--

CREATE TABLE `rodados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_marcas_modelo_id` bigint(20) unsigned NOT NULL,
  `rodados_equipo_id` bigint(20) unsigned NOT NULL,
  `rodados_estado_id` bigint(20) unsigned NOT NULL,
  `interno` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `chasis` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `motor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_limitado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha_limitado` date DEFAULT NULL,
  `fecha_vto_vtv` date DEFAULT NULL,
  `fecha_vto_ruta` date DEFAULT NULL,
  `fecha_vto_seguro` date DEFAULT NULL,
  `rodados_seguros_compania_id` bigint(20) unsigned DEFAULT NULL,
  `num_poliza` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rodados_seguros_cobertura_id` bigint(20) unsigned DEFAULT NULL,
  `num_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_lojack` tinyint(1) NOT NULL DEFAULT '0',
  `rodados_lojack_tecnologia_id` bigint(20) unsigned DEFAULT NULL,
  `is_ypf_gps_instalado` tinyint(1) NOT NULL DEFAULT '0',
  `rodados_ypf_gps_estado_id` bigint(20) unsigned DEFAULT NULL,
  `ypf_ruta_num_tarjeta` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shell_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_opds_habilitado` tinyint(1) NOT NULL DEFAULT '0',
  `is_ceamse_habilitado` tinyint(1) NOT NULL DEFAULT '0',
  `is_estado_unidad` tinyint(1) NOT NULL DEFAULT '0',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `is_parametrizado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha_parametrizado` date DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `fecha_alta` date DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_person_id_foreign` (`person_id`),
  KEY `rodados_rodados_marcas_modelo_id_foreign` (`rodados_marcas_modelo_id`),
  KEY `rodados_rodados_equipo_id_foreign` (`rodados_equipo_id`),
  KEY `rodados_rodados_estado_id_foreign` (`rodados_estado_id`),
  KEY `rodados_rodados_seguros_compania_id_foreign` (`rodados_seguros_compania_id`),
  KEY `rodados_rodados_seguros_cobertura_id_foreign` (`rodados_seguros_cobertura_id`),
  KEY `rodados_rodados_lojack_tecnologia_id_foreign` (`rodados_lojack_tecnologia_id`),
  KEY `rodados_rodados_ypf_gps_estado_id_foreign` (`rodados_ypf_gps_estado_id`),
  CONSTRAINT `rodados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_rodados_equipo_id_foreign` FOREIGN KEY (`rodados_equipo_id`) REFERENCES `rodados_equipos` (`id`),
  CONSTRAINT `rodados_rodados_estado_id_foreign` FOREIGN KEY (`rodados_estado_id`) REFERENCES `rodados_estados` (`id`),
  CONSTRAINT `rodados_rodados_lojack_tecnologia_id_foreign` FOREIGN KEY (`rodados_lojack_tecnologia_id`) REFERENCES `rodados_lojack_tecnologias` (`id`),
  CONSTRAINT `rodados_rodados_marcas_modelo_id_foreign` FOREIGN KEY (`rodados_marcas_modelo_id`) REFERENCES `rodados_marcas_modelos` (`id`),
  CONSTRAINT `rodados_rodados_seguros_cobertura_id_foreign` FOREIGN KEY (`rodados_seguros_cobertura_id`) REFERENCES `rodados_seguros_coberturas` (`id`),
  CONSTRAINT `rodados_rodados_seguros_compania_id_foreign` FOREIGN KEY (`rodados_seguros_compania_id`) REFERENCES `rodados_seguros_companias` (`id`),
  CONSTRAINT `rodados_rodados_ypf_gps_estado_id_foreign` FOREIGN KEY (`rodados_ypf_gps_estado_id`) REFERENCES `rodados_ypf_gps_estados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados`
--


--
-- Table structure for table `rodados_cargas`
--

CREATE TABLE `rodados_cargas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_cargas_marca_id` bigint(20) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha` datetime NOT NULL,
  `tarjeta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ubicacion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `combustible` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `litros` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `precio_x_litro` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `neto` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_person_id_foreign` (`person_id`),
  KEY `rodados_cargas_rodado_id_foreign` (`rodado_id`),
  KEY `rodados_cargas_rodados_cargas_marca_id_foreign` (`rodados_cargas_marca_id`),
  CONSTRAINT `rodados_cargas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_cargas_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`),
  CONSTRAINT `rodados_cargas_rodados_cargas_marca_id_foreign` FOREIGN KEY (`rodados_cargas_marca_id`) REFERENCES `rodados_cargas_marcas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas`
--


--
-- Table structure for table `rodados_cargas_control`
--

CREATE TABLE `rodados_cargas_control` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `carga_control_tope_id` bigint(20) unsigned NOT NULL,
  `acumulado` int(11) NOT NULL DEFAULT '0',
  `ultima_carga` int(11) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_control_rodado_id_foreign` (`rodado_id`),
  KEY `rodados_cargas_control_carga_control_tope_id_foreign` (`carga_control_tope_id`),
  CONSTRAINT `rodados_cargas_control_carga_control_tope_id_foreign` FOREIGN KEY (`carga_control_tope_id`) REFERENCES `rodados_cargas_control_topes` (`id`),
  CONSTRAINT `rodados_cargas_control_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control`
--


--
-- Table structure for table `rodados_cargas_control_history`
--

CREATE TABLE `rodados_cargas_control_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `control` int(11) NOT NULL,
  `acumulado` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_control_history_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_cargas_control_history_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control_history`
--


--
-- Table structure for table `rodados_cargas_control_topes`
--

CREATE TABLE `rodados_cargas_control_topes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `control` int(11) NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_control_topes_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_cargas_control_topes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control_topes`
--


--
-- Table structure for table `rodados_cargas_marcas`
--

CREATE TABLE `rodados_cargas_marcas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_cargas_marcas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_cargas_marcas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_marcas`
--


--
-- Table structure for table `rodados_equipos`
--

CREATE TABLE `rodados_equipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_equipos_descripcion_unique` (`descripcion`),
  KEY `rodados_equipos_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_equipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_equipos`
--


--
-- Table structure for table `rodados_estados`
--

CREATE TABLE `rodados_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_estados_descripcion_unique` (`descripcion`),
  KEY `rodados_estados_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_estados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_estados`
--


--
-- Table structure for table `rodados_files`
--

CREATE TABLE `rodados_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_files_person_id_foreign` (`person_id`),
  KEY `rodados_files_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_files_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_files`
--


--
-- Table structure for table `rodados_kms`
--

CREATE TABLE `rodados_kms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha_desde` date NOT NULL,
  `fecha_hasta` date NOT NULL,
  `imei` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dispositivo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tiempo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `numero_viaje` int(11) DEFAULT NULL,
  `kms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rodados_kms_person_id_foreign` (`person_id`),
  KEY `rodados_kms_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_kms_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_kms_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_kms`
--


--
-- Table structure for table `rodados_lojack_tecnologias`
--

CREATE TABLE `rodados_lojack_tecnologias` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_lojack_tecnologias_descripcion_unique` (`descripcion`),
  KEY `rodados_lojack_tecnologias_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_lojack_tecnologias_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_lojack_tecnologias`
--


--
-- Table structure for table `rodados_marcas`
--

CREATE TABLE `rodados_marcas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_marcas_descripcion_unique` (`descripcion`),
  KEY `rodados_marcas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_marcas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_marcas`
--


--
-- Table structure for table `rodados_marcas_modelos`
--

CREATE TABLE `rodados_marcas_modelos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_marca_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_marcas_modelos_descripcion_unique` (`descripcion`),
  KEY `rodados_marcas_modelos_person_id_foreign` (`person_id`),
  KEY `rodados_marcas_modelos_rodados_marca_id_foreign` (`rodados_marca_id`),
  CONSTRAINT `rodados_marcas_modelos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_marcas_modelos_rodados_marca_id_foreign` FOREIGN KEY (`rodados_marca_id`) REFERENCES `rodados_marcas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_marcas_modelos`
--


--
-- Table structure for table `rodados_seguros_coberturas`
--

CREATE TABLE `rodados_seguros_coberturas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_seguros_coberturas_descripcion_unique` (`descripcion`),
  KEY `rodados_seguros_coberturas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_seguros_coberturas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_seguros_coberturas`
--


--
-- Table structure for table `rodados_seguros_companias`
--

CREATE TABLE `rodados_seguros_companias` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_seguros_companias_descripcion_unique` (`descripcion`),
  KEY `rodados_seguros_companias_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_seguros_companias_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_seguros_companias`
--


--
-- Table structure for table `rodados_ypf_gps_estados`
--

CREATE TABLE `rodados_ypf_gps_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rodados_ypf_gps_estados_descripcion_unique` (`descripcion`),
  KEY `rodados_ypf_gps_estados_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_ypf_gps_estados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_ypf_gps_estados`
--


--
-- Table structure for table `sexo`
--

CREATE TABLE `sexo` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sexo_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sexo`
--

INSERT INTO `sexo` VALUES (1,NULL,'Masculino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Femenino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `sicore_alicuotas`
--

CREATE TABLE `sicore_alicuotas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `desde` int(10) unsigned NOT NULL,
  `hasta` int(10) unsigned NOT NULL,
  `impuesto` int(10) unsigned NOT NULL,
  `mas_porcentaje` decimal(8,2) unsigned NOT NULL,
  `excedente` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_alicuotas`
--

INSERT INTO `sicore_alicuotas` VALUES (1,NULL,2022,0,8000,0,0.00,0,NULL,NULL,NULL),(2,NULL,2022,8000,16000,400,9.00,8000,NULL,NULL,NULL),(3,NULL,2022,16000,24000,1120,12.00,16000,NULL,NULL,NULL),(4,NULL,2022,24000,32000,2080,15.00,24000,NULL,NULL,NULL),(5,NULL,2022,32000,48000,3280,19.00,32000,NULL,NULL,NULL),(6,NULL,2022,48000,64000,6320,23.00,48000,NULL,NULL,NULL),(7,NULL,2022,64000,96000,10000,27.00,64000,NULL,NULL,NULL),(8,NULL,2022,96000,999999,18640,31.00,96000,NULL,NULL,NULL);

--
-- Table structure for table `sicore_comprobantes`
--

CREATE TABLE `sicore_comprobantes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_comprobantes`
--

INSERT INTO `sicore_comprobantes` VALUES (1,'1','FACTURAS A',1,NULL,NULL,NULL),(2,'2','NOTAS DE DEBITO A',1,NULL,NULL,NULL),(3,'3','NOTAS DE CREDITO A',1,NULL,NULL,NULL),(4,'4','RECIBOS A',1,NULL,NULL,NULL),(5,'5','NOTAS DE VENTA AL CONTADO A',1,NULL,NULL,NULL),(6,'6','FACTURAS B',1,NULL,NULL,NULL),(7,'7','NOTAS DE DEBITO B',1,NULL,NULL,NULL),(8,'8','NOTAS DE CREDITO B',1,NULL,NULL,NULL),(9,'9','RECIBOS B',1,NULL,NULL,NULL),(10,'10','NOTAS DE VENTA AL CONTADO B',1,NULL,NULL,NULL),(11,'11','FACTURAS C',1,NULL,NULL,NULL),(12,'12','NOTAS DE DEBITO C',1,NULL,NULL,NULL),(13,'13','NOTAS DE CREDITO C',1,NULL,NULL,NULL),(14,'15','RECIBOS C',1,NULL,NULL,NULL),(15,'16','NOTAS DE VENTA AL CONTADO C',1,NULL,NULL,NULL),(16,'17','LIQUIDACION DE SERVICIOS PUBLICOS CLASE A',1,NULL,NULL,NULL),(17,'18','LIQUIDACION DE SERVICIOS PUBLICOS CLASE B',1,NULL,NULL,NULL),(18,'19','FACTURAS DE EXPORTACION',1,NULL,NULL,NULL),(19,'20','NOTAS DE DEBITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(20,'21','NOTAS DE CREDITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(21,'22','FACTURAS - PERMISO EXPORTACION SIMPLIFICADO - DTO. 855/97',1,NULL,NULL,NULL),(22,'23','COMPROBANTES “A” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(23,'24','COMPROBANTES “A” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(24,'25','COMPROBANTES “B” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(25,'26','COMPROBANTES “B” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(26,'27','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(27,'28','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(28,'29','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(29,'30','COMPROBANTES DE COMPRA DE BIENES USADOS',1,NULL,NULL,NULL),(30,'31','MANDATO - CONSIGNACION',1,NULL,NULL,NULL),(31,'32','COMPROBANTES PARA RECICLAR MATERIALES',1,NULL,NULL,NULL),(32,'33','LIQUIDACION PRIMARIA DE GRANOS',1,NULL,NULL,NULL),(33,'34','COMPROBANTES A DEL APARTADO A  INCISO F)  R.G. N°  1415',1,NULL,NULL,NULL),(34,'35','COMPROBANTES B DEL ANEXO I, APARTADO A, INC. F), R.G. N° 1415',1,NULL,NULL,NULL),(35,'36','COMPROBANTES C DEL Anexo I, Apartado A, INC.F), R.G. N° 1415',1,NULL,NULL,NULL),(36,'37','NOTAS DE DEBITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(37,'38','NOTAS DE CREDITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(38,'39','OTROS COMPROBANTES A QUE CUMPLEN CON LA R G  1415',1,NULL,NULL,NULL),(39,'40','OTROS COMPROBANTES B QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(40,'41','OTROS COMPROBANTES C QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(41,'43','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(42,'44','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(43,'45','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(44,'46','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(45,'47','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(46,'48','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(47,'49','COMPROBANTES DE COMPRA DE BIENES NO REGISTRABLES A CONSUMIDORES FINALES',1,NULL,NULL,NULL),(48,'50','RECIBO FACTURA A  REGIMEN DE FACTURA DE CREDITO ',1,NULL,NULL,NULL),(49,'51','FACTURAS M',1,NULL,NULL,NULL),(50,'52','NOTAS DE DEBITO M',1,NULL,NULL,NULL),(51,'53','NOTAS DE CREDITO M',1,NULL,NULL,NULL),(52,'54','RECIBOS M',1,NULL,NULL,NULL),(53,'55','NOTAS DE VENTA AL CONTADO M',1,NULL,NULL,NULL),(54,'56','COMPROBANTES M DEL ANEXO I  APARTADO A  INC F) R.G. N° 1415',1,NULL,NULL,NULL),(55,'57','OTROS COMPROBANTES M QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(56,'58','CUENTAS DE VENTA Y LIQUIDO PRODUCTO M',1,NULL,NULL,NULL),(57,'59','LIQUIDACIONES M',1,NULL,NULL,NULL);
INSERT INTO `sicore_comprobantes` VALUES (58,'60','CUENTAS DE VENTA Y LIQUIDO PRODUCTO A',1,NULL,NULL,NULL),(59,'61','CUENTAS DE VENTA Y LIQUIDO PRODUCTO B',1,NULL,NULL,NULL),(60,'63','LIQUIDACIONES A',1,NULL,NULL,NULL),(61,'64','LIQUIDACIONES B',1,NULL,NULL,NULL),(62,'66','DESPACHO DE IMPORTACION',1,NULL,NULL,NULL),(63,'68','LIQUIDACION C',1,NULL,NULL,NULL),(64,'70','RECIBOS FACTURA DE CREDITO',1,NULL,NULL,NULL),(65,'80','INFORME DIARIO DE CIERRE (ZETA) - CONTROLADORES FISCALES',1,NULL,NULL,NULL),(66,'81','TIQUE FACTURA A   ',1,NULL,NULL,NULL),(67,'82','TIQUE FACTURA B',1,NULL,NULL,NULL),(68,'83','TIQUE',1,NULL,NULL,NULL),(69,'88','REMITO ELECTRONICO',1,NULL,NULL,NULL),(70,'89','RESUMEN DE DATOS',1,NULL,NULL,NULL),(71,'90','OTROS COMPROBANTES - DOCUMENTOS EXCEPTUADOS - NOTAS DE CREDITO',1,NULL,NULL,NULL),(72,'91','REMITOS R',1,NULL,NULL,NULL),(73,'99','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF',1,NULL,NULL,NULL),(74,'110','TIQUE NOTA DE CREDITO ',1,NULL,NULL,NULL),(75,'111','TIQUE FACTURA C',1,NULL,NULL,NULL),(76,'112','TIQUE NOTA DE CREDITO A',1,NULL,NULL,NULL),(77,'113','TIQUE NOTA DE CREDITO B',1,NULL,NULL,NULL),(78,'114','TIQUE NOTA DE CREDITO C',1,NULL,NULL,NULL),(79,'115','TIQUE NOTA DE DEBITO A',1,NULL,NULL,NULL),(80,'116','TIQUE NOTA DE DEBITO B',1,NULL,NULL,NULL),(81,'117','TIQUE NOTA DE DEBITO C',1,NULL,NULL,NULL),(82,'118','TIQUE FACTURA M',1,NULL,NULL,NULL),(83,'119','TIQUE NOTA DE CREDITO M',1,NULL,NULL,NULL),(84,'120','TIQUE NOTA DE DEBITO M',1,NULL,NULL,NULL),(85,'201','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(86,'202','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(87,'203','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(88,'206','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(89,'207','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(90,'208','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(91,'211','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(92,'212','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(93,'213','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(94,'331','LIQUIDACION SECUNDARIA DE GRANOS',1,NULL,NULL,NULL),(95,'332','CERTIFICACION ELECTRONICA (GRANOS)',1,NULL,NULL,NULL),(96,'995','REMITO ELECTRÓNICO CÁRNICO ',1,NULL,NULL,NULL);

--
