INSERT INTO `periods` VALUES (45274,NULL,'2088-02',2088,2,'2088-02-01','2088-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45275,NULL,'2088-03',2088,3,'2088-03-01','2088-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45276,NULL,'2088-04',2088,4,'2088-04-01','2088-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45277,NULL,'2088-05',2088,5,'2088-05-01','2088-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45278,NULL,'2088-06',2088,6,'2088-06-01','2088-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45279,NULL,'2088-07',2088,7,'2088-07-01','2088-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45280,NULL,'2088-08',2088,8,'2088-08-01','2088-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45281,NULL,'2088-09',2088,9,'2088-09-01','2088-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45282,NULL,'2088-10',2088,10,'2088-10-01','2088-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45283,NULL,'2088-11',2088,11,'2088-11-01','2088-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45284,NULL,'2088-12',2088,12,'2088-12-01','2088-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45288,NULL,'2089-01',2089,1,'2089-01-01','2089-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45289,NULL,'2089-02',2089,2,'2089-02-01','2089-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45290,NULL,'2089-03',2089,3,'2089-03-01','2089-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45291,NULL,'2089-04',2089,4,'2089-04-01','2089-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45292,NULL,'2089-05',2089,5,'2089-05-01','2089-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45293,NULL,'2089-06',2089,6,'2089-06-01','2089-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45294,NULL,'2089-07',2089,7,'2089-07-01','2089-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45295,NULL,'2089-08',2089,8,'2089-08-01','2089-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45296,NULL,'2089-09',2089,9,'2089-09-01','2089-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45297,NULL,'2089-10',2089,10,'2089-10-01','2089-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45298,NULL,'2089-11',2089,11,'2089-11-01','2089-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45299,NULL,'2089-12',2089,12,'2089-12-01','2089-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45303,NULL,'2090-01',2090,1,'2090-01-01','2090-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45304,NULL,'2090-02',2090,2,'2090-02-01','2090-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45305,NULL,'2090-03',2090,3,'2090-03-01','2090-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45306,NULL,'2090-04',2090,4,'2090-04-01','2090-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45307,NULL,'2090-05',2090,5,'2090-05-01','2090-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45308,NULL,'2090-06',2090,6,'2090-06-01','2090-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45309,NULL,'2090-07',2090,7,'2090-07-01','2090-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45310,NULL,'2090-08',2090,8,'2090-08-01','2090-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45311,NULL,'2090-09',2090,9,'2090-09-01','2090-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45312,NULL,'2090-10',2090,10,'2090-10-01','2090-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45313,NULL,'2090-11',2090,11,'2090-11-01','2090-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45314,NULL,'2090-12',2090,12,'2090-12-01','2090-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45318,NULL,'2091-01',2091,1,'2091-01-01','2091-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45319,NULL,'2091-02',2091,2,'2091-02-01','2091-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45320,NULL,'2091-03',2091,3,'2091-03-01','2091-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45321,NULL,'2091-04',2091,4,'2091-04-01','2091-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45322,NULL,'2091-05',2091,5,'2091-05-01','2091-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45323,NULL,'2091-06',2091,6,'2091-06-01','2091-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45324,NULL,'2091-07',2091,7,'2091-07-01','2091-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45325,NULL,'2091-08',2091,8,'2091-08-01','2091-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45326,NULL,'2091-09',2091,9,'2091-09-01','2091-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45327,NULL,'2091-10',2091,10,'2091-10-01','2091-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45328,NULL,'2091-11',2091,11,'2091-11-01','2091-11-30',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45329,NULL,'2091-12',2091,12,'2091-12-01','2091-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45333,NULL,'2092-01',2092,1,'2092-01-01','2092-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45334,NULL,'2092-02',2092,2,'2092-02-01','2092-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45335,NULL,'2092-03',2092,3,'2092-03-01','2092-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45336,NULL,'2092-04',2092,4,'2092-04-01','2092-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45337,NULL,'2092-05',2092,5,'2092-05-01','2092-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45338,NULL,'2092-06',2092,6,'2092-06-01','2092-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45339,NULL,'2092-07',2092,7,'2092-07-01','2092-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45340,NULL,'2092-08',2092,8,'2092-08-01','2092-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45341,NULL,'2092-09',2092,9,'2092-09-01','2092-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45342,NULL,'2092-10',2092,10,'2092-10-01','2092-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45343,NULL,'2092-11',2092,11,'2092-11-01','2092-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45344,NULL,'2092-12',2092,12,'2092-12-01','2092-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45348,NULL,'2093-01',2093,1,'2093-01-01','2093-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45349,NULL,'2093-02',2093,2,'2093-02-01','2093-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45350,NULL,'2093-03',2093,3,'2093-03-01','2093-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45351,NULL,'2093-04',2093,4,'2093-04-01','2093-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45352,NULL,'2093-05',2093,5,'2093-05-01','2093-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45353,NULL,'2093-06',2093,6,'2093-06-01','2093-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45354,NULL,'2093-07',2093,7,'2093-07-01','2093-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45355,NULL,'2093-08',2093,8,'2093-08-01','2093-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45356,NULL,'2093-09',2093,9,'2093-09-01','2093-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45357,NULL,'2093-10',2093,10,'2093-10-01','2093-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45358,NULL,'2093-11',2093,11,'2093-11-01','2093-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45359,NULL,'2093-12',2093,12,'2093-12-01','2093-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45363,NULL,'2094-01',2094,1,'2094-01-01','2094-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45364,NULL,'2094-02',2094,2,'2094-02-01','2094-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45365,NULL,'2094-03',2094,3,'2094-03-01','2094-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45366,NULL,'2094-04',2094,4,'2094-04-01','2094-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45367,NULL,'2094-05',2094,5,'2094-05-01','2094-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45368,NULL,'2094-06',2094,6,'2094-06-01','2094-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45369,NULL,'2094-07',2094,7,'2094-07-01','2094-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45370,NULL,'2094-08',2094,8,'2094-08-01','2094-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45371,NULL,'2094-09',2094,9,'2094-09-01','2094-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45372,NULL,'2094-10',2094,10,'2094-10-01','2094-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45373,NULL,'2094-11',2094,11,'2094-11-01','2094-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45374,NULL,'2094-12',2094,12,'2094-12-01','2094-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45378,NULL,'2095-01',2095,1,'2095-01-01','2095-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45379,NULL,'2095-02',2095,2,'2095-02-01','2095-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45380,NULL,'2095-03',2095,3,'2095-03-01','2095-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45381,NULL,'2095-04',2095,4,'2095-04-01','2095-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45382,NULL,'2095-05',2095,5,'2095-05-01','2095-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45383,NULL,'2095-06',2095,6,'2095-06-01','2095-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45384,NULL,'2095-07',2095,7,'2095-07-01','2095-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45385,NULL,'2095-08',2095,8,'2095-08-01','2095-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45386,NULL,'2095-09',2095,9,'2095-09-01','2095-09-30',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45387,NULL,'2095-10',2095,10,'2095-10-01','2095-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45388,NULL,'2095-11',2095,11,'2095-11-01','2095-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45389,NULL,'2095-12',2095,12,'2095-12-01','2095-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45393,NULL,'2096-01',2096,1,'2096-01-01','2096-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45394,NULL,'2096-02',2096,2,'2096-02-01','2096-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45395,NULL,'2096-03',2096,3,'2096-03-01','2096-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45396,NULL,'2096-04',2096,4,'2096-04-01','2096-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45397,NULL,'2096-05',2096,5,'2096-05-01','2096-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45398,NULL,'2096-06',2096,6,'2096-06-01','2096-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45399,NULL,'2096-07',2096,7,'2096-07-01','2096-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45400,NULL,'2096-08',2096,8,'2096-08-01','2096-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45401,NULL,'2096-09',2096,9,'2096-09-01','2096-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45402,NULL,'2096-10',2096,10,'2096-10-01','2096-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45403,NULL,'2096-11',2096,11,'2096-11-01','2096-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45404,NULL,'2096-12',2096,12,'2096-12-01','2096-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45408,NULL,'2097-01',2097,1,'2097-01-01','2097-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45409,NULL,'2097-02',2097,2,'2097-02-01','2097-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45410,NULL,'2097-03',2097,3,'2097-03-01','2097-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45411,NULL,'2097-04',2097,4,'2097-04-01','2097-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45412,NULL,'2097-05',2097,5,'2097-05-01','2097-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45413,NULL,'2097-06',2097,6,'2097-06-01','2097-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45414,NULL,'2097-07',2097,7,'2097-07-01','2097-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45415,NULL,'2097-08',2097,8,'2097-08-01','2097-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45416,NULL,'2097-09',2097,9,'2097-09-01','2097-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45417,NULL,'2097-10',2097,10,'2097-10-01','2097-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45418,NULL,'2097-11',2097,11,'2097-11-01','2097-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45419,NULL,'2097-12',2097,12,'2097-12-01','2097-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45423,NULL,'2098-01',2098,1,'2098-01-01','2098-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45424,NULL,'2098-02',2098,2,'2098-02-01','2098-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45425,NULL,'2098-03',2098,3,'2098-03-01','2098-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45426,NULL,'2098-04',2098,4,'2098-04-01','2098-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45427,NULL,'2098-05',2098,5,'2098-05-01','2098-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45428,NULL,'2098-06',2098,6,'2098-06-01','2098-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45429,NULL,'2098-07',2098,7,'2098-07-01','2098-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45430,NULL,'2098-08',2098,8,'2098-08-01','2098-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45431,NULL,'2098-09',2098,9,'2098-09-01','2098-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45432,NULL,'2098-10',2098,10,'2098-10-01','2098-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45433,NULL,'2098-11',2098,11,'2098-11-01','2098-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45434,NULL,'2098-12',2098,12,'2098-12-01','2098-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45438,NULL,'2099-01',2099,1,'2099-01-01','2099-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45439,NULL,'2099-02',2099,2,'2099-02-01','2099-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45440,NULL,'2099-03',2099,3,'2099-03-01','2099-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45441,NULL,'2099-04',2099,4,'2099-04-01','2099-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45442,NULL,'2099-05',2099,5,'2099-05-01','2099-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45443,NULL,'2099-06',2099,6,'2099-06-01','2099-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45444,NULL,'2099-07',2099,7,'2099-07-01','2099-07-31',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45445,NULL,'2099-08',2099,8,'2099-08-01','2099-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45446,NULL,'2099-09',2099,9,'2099-09-01','2099-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45447,NULL,'2099-10',2099,10,'2099-10-01','2099-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45448,NULL,'2099-11',2099,11,'2099-11-01','2099-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45449,NULL,'2099-12',2099,12,'2099-12-01','2099-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45453,NULL,'2100-01',2100,1,'2100-01-01','2100-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45454,NULL,'2100-02',2100,2,'2100-02-01','2100-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45455,NULL,'2100-03',2100,3,'2100-03-01','2100-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45456,NULL,'2100-04',2100,4,'2100-04-01','2100-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45457,NULL,'2100-05',2100,5,'2100-05-01','2100-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45458,NULL,'2100-06',2100,6,'2100-06-01','2100-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45459,NULL,'2100-07',2100,7,'2100-07-01','2100-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45460,NULL,'2100-08',2100,8,'2100-08-01','2100-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45461,NULL,'2100-09',2100,9,'2100-09-01','2100-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45462,NULL,'2100-10',2100,10,'2100-10-01','2100-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45463,NULL,'2100-11',2100,11,'2100-11-01','2100-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45464,NULL,'2100-12',2100,12,'2100-12-01','2100-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45468,NULL,'2101-01',2101,1,'2101-01-01','2101-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45469,NULL,'2101-02',2101,2,'2101-02-01','2101-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45470,NULL,'2101-03',2101,3,'2101-03-01','2101-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45471,NULL,'2101-04',2101,4,'2101-04-01','2101-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45472,NULL,'2101-05',2101,5,'2101-05-01','2101-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45473,NULL,'2101-06',2101,6,'2101-06-01','2101-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45474,NULL,'2101-07',2101,7,'2101-07-01','2101-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45475,NULL,'2101-08',2101,8,'2101-08-01','2101-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45476,NULL,'2101-09',2101,9,'2101-09-01','2101-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45477,NULL,'2101-10',2101,10,'2101-10-01','2101-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45478,NULL,'2101-11',2101,11,'2101-11-01','2101-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45479,NULL,'2101-12',2101,12,'2101-12-01','2101-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45483,NULL,'2102-01',2102,1,'2102-01-01','2102-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45484,NULL,'2102-02',2102,2,'2102-02-01','2102-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45485,NULL,'2102-03',2102,3,'2102-03-01','2102-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45486,NULL,'2102-04',2102,4,'2102-04-01','2102-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45487,NULL,'2102-05',2102,5,'2102-05-01','2102-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45488,NULL,'2102-06',2102,6,'2102-06-01','2102-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45489,NULL,'2102-07',2102,7,'2102-07-01','2102-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45490,NULL,'2102-08',2102,8,'2102-08-01','2102-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45491,NULL,'2102-09',2102,9,'2102-09-01','2102-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45492,NULL,'2102-10',2102,10,'2102-10-01','2102-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45493,NULL,'2102-11',2102,11,'2102-11-01','2102-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45494,NULL,'2102-12',2102,12,'2102-12-01','2102-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45498,NULL,'2103-01',2103,1,'2103-01-01','2103-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45499,NULL,'2103-02',2103,2,'2103-02-01','2103-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45500,NULL,'2103-03',2103,3,'2103-03-01','2103-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45501,NULL,'2103-04',2103,4,'2103-04-01','2103-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45502,NULL,'2103-05',2103,5,'2103-05-01','2103-05-31',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45503,NULL,'2103-06',2103,6,'2103-06-01','2103-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45504,NULL,'2103-07',2103,7,'2103-07-01','2103-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45505,NULL,'2103-08',2103,8,'2103-08-01','2103-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45506,NULL,'2103-09',2103,9,'2103-09-01','2103-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45507,NULL,'2103-10',2103,10,'2103-10-01','2103-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45508,NULL,'2103-11',2103,11,'2103-11-01','2103-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45509,NULL,'2103-12',2103,12,'2103-12-01','2103-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45513,NULL,'2104-01',2104,1,'2104-01-01','2104-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45514,NULL,'2104-02',2104,2,'2104-02-01','2104-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45515,NULL,'2104-03',2104,3,'2104-03-01','2104-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45516,NULL,'2104-04',2104,4,'2104-04-01','2104-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45517,NULL,'2104-05',2104,5,'2104-05-01','2104-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45518,NULL,'2104-06',2104,6,'2104-06-01','2104-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45519,NULL,'2104-07',2104,7,'2104-07-01','2104-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45520,NULL,'2104-08',2104,8,'2104-08-01','2104-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45521,NULL,'2104-09',2104,9,'2104-09-01','2104-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45522,NULL,'2104-10',2104,10,'2104-10-01','2104-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45523,NULL,'2104-11',2104,11,'2104-11-01','2104-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45524,NULL,'2104-12',2104,12,'2104-12-01','2104-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45528,NULL,'2105-01',2105,1,'2105-01-01','2105-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45529,NULL,'2105-02',2105,2,'2105-02-01','2105-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45530,NULL,'2105-03',2105,3,'2105-03-01','2105-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45531,NULL,'2105-04',2105,4,'2105-04-01','2105-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45532,NULL,'2105-05',2105,5,'2105-05-01','2105-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45533,NULL,'2105-06',2105,6,'2105-06-01','2105-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45534,NULL,'2105-07',2105,7,'2105-07-01','2105-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45535,NULL,'2105-08',2105,8,'2105-08-01','2105-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45536,NULL,'2105-09',2105,9,'2105-09-01','2105-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45537,NULL,'2105-10',2105,10,'2105-10-01','2105-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45538,NULL,'2105-11',2105,11,'2105-11-01','2105-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45539,NULL,'2105-12',2105,12,'2105-12-01','2105-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45543,NULL,'2106-01',2106,1,'2106-01-01','2106-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45544,NULL,'2106-02',2106,2,'2106-02-01','2106-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45545,NULL,'2106-03',2106,3,'2106-03-01','2106-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45546,NULL,'2106-04',2106,4,'2106-04-01','2106-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45547,NULL,'2106-05',2106,5,'2106-05-01','2106-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45548,NULL,'2106-06',2106,6,'2106-06-01','2106-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45549,NULL,'2106-07',2106,7,'2106-07-01','2106-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45550,NULL,'2106-08',2106,8,'2106-08-01','2106-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45551,NULL,'2106-09',2106,9,'2106-09-01','2106-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45552,NULL,'2106-10',2106,10,'2106-10-01','2106-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45553,NULL,'2106-11',2106,11,'2106-11-01','2106-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45554,NULL,'2106-12',2106,12,'2106-12-01','2106-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45558,NULL,'2107-01',2107,1,'2107-01-01','2107-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45559,NULL,'2107-02',2107,2,'2107-02-01','2107-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45560,NULL,'2107-03',2107,3,'2107-03-01','2107-03-31',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45561,NULL,'2107-04',2107,4,'2107-04-01','2107-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45562,NULL,'2107-05',2107,5,'2107-05-01','2107-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45563,NULL,'2107-06',2107,6,'2107-06-01','2107-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45564,NULL,'2107-07',2107,7,'2107-07-01','2107-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45565,NULL,'2107-08',2107,8,'2107-08-01','2107-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45566,NULL,'2107-09',2107,9,'2107-09-01','2107-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45567,NULL,'2107-10',2107,10,'2107-10-01','2107-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45568,NULL,'2107-11',2107,11,'2107-11-01','2107-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45569,NULL,'2107-12',2107,12,'2107-12-01','2107-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45573,NULL,'2108-01',2108,1,'2108-01-01','2108-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45574,NULL,'2108-02',2108,2,'2108-02-01','2108-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45575,NULL,'2108-03',2108,3,'2108-03-01','2108-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45576,NULL,'2108-04',2108,4,'2108-04-01','2108-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45577,NULL,'2108-05',2108,5,'2108-05-01','2108-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45578,NULL,'2108-06',2108,6,'2108-06-01','2108-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45579,NULL,'2108-07',2108,7,'2108-07-01','2108-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45580,NULL,'2108-08',2108,8,'2108-08-01','2108-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45581,NULL,'2108-09',2108,9,'2108-09-01','2108-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45582,NULL,'2108-10',2108,10,'2108-10-01','2108-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45583,NULL,'2108-11',2108,11,'2108-11-01','2108-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45584,NULL,'2108-12',2108,12,'2108-12-01','2108-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45588,NULL,'2109-01',2109,1,'2109-01-01','2109-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45589,NULL,'2109-02',2109,2,'2109-02-01','2109-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45590,NULL,'2109-03',2109,3,'2109-03-01','2109-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45591,NULL,'2109-04',2109,4,'2109-04-01','2109-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45592,NULL,'2109-05',2109,5,'2109-05-01','2109-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45593,NULL,'2109-06',2109,6,'2109-06-01','2109-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45594,NULL,'2109-07',2109,7,'2109-07-01','2109-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45595,NULL,'2109-08',2109,8,'2109-08-01','2109-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45596,NULL,'2109-09',2109,9,'2109-09-01','2109-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45597,NULL,'2109-10',2109,10,'2109-10-01','2109-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45598,NULL,'2109-11',2109,11,'2109-11-01','2109-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45599,NULL,'2109-12',2109,12,'2109-12-01','2109-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45603,NULL,'2110-01',2110,1,'2110-01-01','2110-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45604,NULL,'2110-02',2110,2,'2110-02-01','2110-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45605,NULL,'2110-03',2110,3,'2110-03-01','2110-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45606,NULL,'2110-04',2110,4,'2110-04-01','2110-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45607,NULL,'2110-05',2110,5,'2110-05-01','2110-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45608,NULL,'2110-06',2110,6,'2110-06-01','2110-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45609,NULL,'2110-07',2110,7,'2110-07-01','2110-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45610,NULL,'2110-08',2110,8,'2110-08-01','2110-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45611,NULL,'2110-09',2110,9,'2110-09-01','2110-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45612,NULL,'2110-10',2110,10,'2110-10-01','2110-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45613,NULL,'2110-11',2110,11,'2110-11-01','2110-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45614,NULL,'2110-12',2110,12,'2110-12-01','2110-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45618,NULL,'2111-01',2111,1,'2111-01-01','2111-01-31',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45619,NULL,'2111-02',2111,2,'2111-02-01','2111-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45620,NULL,'2111-03',2111,3,'2111-03-01','2111-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45621,NULL,'2111-04',2111,4,'2111-04-01','2111-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45622,NULL,'2111-05',2111,5,'2111-05-01','2111-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45623,NULL,'2111-06',2111,6,'2111-06-01','2111-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45624,NULL,'2111-07',2111,7,'2111-07-01','2111-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45625,NULL,'2111-08',2111,8,'2111-08-01','2111-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45626,NULL,'2111-09',2111,9,'2111-09-01','2111-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45627,NULL,'2111-10',2111,10,'2111-10-01','2111-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45628,NULL,'2111-11',2111,11,'2111-11-01','2111-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45629,NULL,'2111-12',2111,12,'2111-12-01','2111-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45633,NULL,'2112-01',2112,1,'2112-01-01','2112-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45634,NULL,'2112-02',2112,2,'2112-02-01','2112-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45635,NULL,'2112-03',2112,3,'2112-03-01','2112-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45636,NULL,'2112-04',2112,4,'2112-04-01','2112-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45637,NULL,'2112-05',2112,5,'2112-05-01','2112-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45638,NULL,'2112-06',2112,6,'2112-06-01','2112-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45639,NULL,'2112-07',2112,7,'2112-07-01','2112-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45640,NULL,'2112-08',2112,8,'2112-08-01','2112-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45641,NULL,'2112-09',2112,9,'2112-09-01','2112-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45642,NULL,'2112-10',2112,10,'2112-10-01','2112-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45643,NULL,'2112-11',2112,11,'2112-11-01','2112-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45644,NULL,'2112-12',2112,12,'2112-12-01','2112-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45648,NULL,'2113-01',2113,1,'2113-01-01','2113-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45649,NULL,'2113-02',2113,2,'2113-02-01','2113-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45650,NULL,'2113-03',2113,3,'2113-03-01','2113-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45651,NULL,'2113-04',2113,4,'2113-04-01','2113-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45652,NULL,'2113-05',2113,5,'2113-05-01','2113-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45653,NULL,'2113-06',2113,6,'2113-06-01','2113-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45654,NULL,'2113-07',2113,7,'2113-07-01','2113-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45655,NULL,'2113-08',2113,8,'2113-08-01','2113-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45656,NULL,'2113-09',2113,9,'2113-09-01','2113-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45657,NULL,'2113-10',2113,10,'2113-10-01','2113-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45658,NULL,'2113-11',2113,11,'2113-11-01','2113-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45659,NULL,'2113-12',2113,12,'2113-12-01','2113-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45663,NULL,'2114-01',2114,1,'2114-01-01','2114-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45664,NULL,'2114-02',2114,2,'2114-02-01','2114-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45665,NULL,'2114-03',2114,3,'2114-03-01','2114-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45666,NULL,'2114-04',2114,4,'2114-04-01','2114-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45667,NULL,'2114-05',2114,5,'2114-05-01','2114-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45668,NULL,'2114-06',2114,6,'2114-06-01','2114-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45669,NULL,'2114-07',2114,7,'2114-07-01','2114-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45670,NULL,'2114-08',2114,8,'2114-08-01','2114-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45671,NULL,'2114-09',2114,9,'2114-09-01','2114-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45672,NULL,'2114-10',2114,10,'2114-10-01','2114-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45673,NULL,'2114-11',2114,11,'2114-11-01','2114-11-30',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45674,NULL,'2114-12',2114,12,'2114-12-01','2114-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45678,NULL,'2115-01',2115,1,'2115-01-01','2115-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45679,NULL,'2115-02',2115,2,'2115-02-01','2115-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45680,NULL,'2115-03',2115,3,'2115-03-01','2115-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45681,NULL,'2115-04',2115,4,'2115-04-01','2115-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45682,NULL,'2115-05',2115,5,'2115-05-01','2115-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45683,NULL,'2115-06',2115,6,'2115-06-01','2115-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45684,NULL,'2115-07',2115,7,'2115-07-01','2115-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45685,NULL,'2115-08',2115,8,'2115-08-01','2115-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45686,NULL,'2115-09',2115,9,'2115-09-01','2115-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45687,NULL,'2115-10',2115,10,'2115-10-01','2115-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45688,NULL,'2115-11',2115,11,'2115-11-01','2115-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45689,NULL,'2115-12',2115,12,'2115-12-01','2115-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45693,NULL,'2116-01',2116,1,'2116-01-01','2116-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45694,NULL,'2116-02',2116,2,'2116-02-01','2116-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45695,NULL,'2116-03',2116,3,'2116-03-01','2116-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45696,NULL,'2116-04',2116,4,'2116-04-01','2116-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45697,NULL,'2116-05',2116,5,'2116-05-01','2116-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45698,NULL,'2116-06',2116,6,'2116-06-01','2116-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45699,NULL,'2116-07',2116,7,'2116-07-01','2116-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45700,NULL,'2116-08',2116,8,'2116-08-01','2116-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45701,NULL,'2116-09',2116,9,'2116-09-01','2116-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45702,NULL,'2116-10',2116,10,'2116-10-01','2116-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45703,NULL,'2116-11',2116,11,'2116-11-01','2116-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45704,NULL,'2116-12',2116,12,'2116-12-01','2116-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45708,NULL,'2117-01',2117,1,'2117-01-01','2117-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45709,NULL,'2117-02',2117,2,'2117-02-01','2117-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45710,NULL,'2117-03',2117,3,'2117-03-01','2117-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45711,NULL,'2117-04',2117,4,'2117-04-01','2117-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45712,NULL,'2117-05',2117,5,'2117-05-01','2117-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45713,NULL,'2117-06',2117,6,'2117-06-01','2117-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45714,NULL,'2117-07',2117,7,'2117-07-01','2117-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45715,NULL,'2117-08',2117,8,'2117-08-01','2117-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45716,NULL,'2117-09',2117,9,'2117-09-01','2117-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45717,NULL,'2117-10',2117,10,'2117-10-01','2117-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45718,NULL,'2117-11',2117,11,'2117-11-01','2117-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45719,NULL,'2117-12',2117,12,'2117-12-01','2117-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45723,NULL,'2118-01',2118,1,'2118-01-01','2118-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45724,NULL,'2118-02',2118,2,'2118-02-01','2118-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45725,NULL,'2118-03',2118,3,'2118-03-01','2118-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45726,NULL,'2118-04',2118,4,'2118-04-01','2118-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45727,NULL,'2118-05',2118,5,'2118-05-01','2118-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45728,NULL,'2118-06',2118,6,'2118-06-01','2118-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45729,NULL,'2118-07',2118,7,'2118-07-01','2118-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45730,NULL,'2118-08',2118,8,'2118-08-01','2118-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45731,NULL,'2118-09',2118,9,'2118-09-01','2118-09-30',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45732,NULL,'2118-10',2118,10,'2118-10-01','2118-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45733,NULL,'2118-11',2118,11,'2118-11-01','2118-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45734,NULL,'2118-12',2118,12,'2118-12-01','2118-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45738,NULL,'2119-01',2119,1,'2119-01-01','2119-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45739,NULL,'2119-02',2119,2,'2119-02-01','2119-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45740,NULL,'2119-03',2119,3,'2119-03-01','2119-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45741,NULL,'2119-04',2119,4,'2119-04-01','2119-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45742,NULL,'2119-05',2119,5,'2119-05-01','2119-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45743,NULL,'2119-06',2119,6,'2119-06-01','2119-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45744,NULL,'2119-07',2119,7,'2119-07-01','2119-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45745,NULL,'2119-08',2119,8,'2119-08-01','2119-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45746,NULL,'2119-09',2119,9,'2119-09-01','2119-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45747,NULL,'2119-10',2119,10,'2119-10-01','2119-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45748,NULL,'2119-11',2119,11,'2119-11-01','2119-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45749,NULL,'2119-12',2119,12,'2119-12-01','2119-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45753,NULL,'2120-01',2120,1,'2120-01-01','2120-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45754,NULL,'2120-02',2120,2,'2120-02-01','2120-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45755,NULL,'2120-03',2120,3,'2120-03-01','2120-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45756,NULL,'2120-04',2120,4,'2120-04-01','2120-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45757,NULL,'2120-05',2120,5,'2120-05-01','2120-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45758,NULL,'2120-06',2120,6,'2120-06-01','2120-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45759,NULL,'2120-07',2120,7,'2120-07-01','2120-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45760,NULL,'2120-08',2120,8,'2120-08-01','2120-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45761,NULL,'2120-09',2120,9,'2120-09-01','2120-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45762,NULL,'2120-10',2120,10,'2120-10-01','2120-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45763,NULL,'2120-11',2120,11,'2120-11-01','2120-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45764,NULL,'2120-12',2120,12,'2120-12-01','2120-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45768,NULL,'2121-01',2121,1,'2121-01-01','2121-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45769,NULL,'2121-02',2121,2,'2121-02-01','2121-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45770,NULL,'2121-03',2121,3,'2121-03-01','2121-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45771,NULL,'2121-04',2121,4,'2121-04-01','2121-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45772,NULL,'2121-05',2121,5,'2121-05-01','2121-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45773,NULL,'2121-06',2121,6,'2121-06-01','2121-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45774,NULL,'2121-07',2121,7,'2121-07-01','2121-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45775,NULL,'2121-08',2121,8,'2121-08-01','2121-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45776,NULL,'2121-09',2121,9,'2121-09-01','2121-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45777,NULL,'2121-10',2121,10,'2121-10-01','2121-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45778,NULL,'2121-11',2121,11,'2121-11-01','2121-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45779,NULL,'2121-12',2121,12,'2121-12-01','2121-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45783,NULL,'2122-01',2122,1,'2122-01-01','2122-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45784,NULL,'2122-02',2122,2,'2122-02-01','2122-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45785,NULL,'2122-03',2122,3,'2122-03-01','2122-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45786,NULL,'2122-04',2122,4,'2122-04-01','2122-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45787,NULL,'2122-05',2122,5,'2122-05-01','2122-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45788,NULL,'2122-06',2122,6,'2122-06-01','2122-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45789,NULL,'2122-07',2122,7,'2122-07-01','2122-07-31',NULL,NULL,40720,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45790,NULL,'2122-08',2122,8,'2122-08-01','2122-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45791,NULL,'2122-09',2122,9,'2122-09-01','2122-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45792,NULL,'2122-10',2122,10,'2122-10-01','2122-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45793,NULL,'2122-11',2122,11,'2122-11-01','2122-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45794,NULL,'2122-12',2122,12,'2122-12-01','2122-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45798,NULL,'2123-01',2123,1,'2123-01-01','2123-01-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45799,NULL,'2123-02',2123,2,'2123-02-01','2123-02-28',NULL,NULL,40720,0,NULL,1,0,0,1),(45800,NULL,'2123-03',2123,3,'2123-03-01','2123-03-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45801,NULL,'2123-04',2123,4,'2123-04-01','2123-04-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45802,NULL,'2123-05',2123,5,'2123-05-01','2123-05-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45803,NULL,'2123-06',2123,6,'2123-06-01','2123-06-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45804,NULL,'2123-07',2123,7,'2123-07-01','2123-07-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45805,NULL,'2123-08',2123,8,'2123-08-01','2123-08-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45806,NULL,'2123-09',2123,9,'2123-09-01','2123-09-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45807,NULL,'2123-10',2123,10,'2123-10-01','2123-10-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45808,NULL,'2123-11',2123,11,'2123-11-01','2123-11-30',NULL,NULL,40720,0,NULL,1,0,0,1),(45809,NULL,'2123-12',2123,12,'2123-12-01','2123-12-31',NULL,NULL,40720,0,NULL,1,0,0,1),(45810,NULL,'2023-07',2023,7,'2023-07-01','2023-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45811,NULL,'2023-08',2023,8,'2023-08-01','2023-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45812,NULL,'2023-09',2023,9,'2023-09-01','2023-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45813,NULL,'2023-10',2023,10,'2023-10-01','2023-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45814,NULL,'2023-11',2023,11,'2023-11-01','2023-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45815,NULL,'2023-12',2023,12,'2023-12-01','2023-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45817,NULL,'2024-01',2024,1,'2024-01-01','2024-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45818,NULL,'2024-02',2024,2,'2024-02-01','2024-02-29',NULL,'2024-02-29 08:54:49',40727,0,NULL,1,0,0,1),(45819,NULL,'2024-03',2024,3,'2024-03-01','2024-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45820,NULL,'2024-04',2024,4,'2024-04-01','2024-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45821,NULL,'2024-05',2024,5,'2024-05-01','2024-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45822,NULL,'2024-06',2024,6,'2024-06-01','2024-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45823,NULL,'2024-07',2024,7,'2024-07-01','2024-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45824,NULL,'2024-08',2024,8,'2024-08-01','2024-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45825,NULL,'2024-09',2024,9,'2024-09-01','2024-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45826,NULL,'2024-10',2024,10,'2024-10-01','2024-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45827,NULL,'2024-11',2024,11,'2024-11-01','2024-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45828,NULL,'2024-12',2024,12,'2024-12-01','2024-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45832,NULL,'2025-01',2025,1,'2025-01-01','2025-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45833,NULL,'2025-02',2025,2,'2025-02-01','2025-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45834,NULL,'2025-03',2025,3,'2025-03-01','2025-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45835,NULL,'2025-04',2025,4,'2025-04-01','2025-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45836,NULL,'2025-05',2025,5,'2025-05-01','2025-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45837,NULL,'2025-06',2025,6,'2025-06-01','2025-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45838,NULL,'2025-07',2025,7,'2025-07-01','2025-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45839,NULL,'2025-08',2025,8,'2025-08-01','2025-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45840,NULL,'2025-09',2025,9,'2025-09-01','2025-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45841,NULL,'2025-10',2025,10,'2025-10-01','2025-10-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45842,NULL,'2025-11',2025,11,'2025-11-01','2025-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45843,NULL,'2025-12',2025,12,'2025-12-01','2025-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45847,NULL,'2026-01',2026,1,'2026-01-01','2026-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45848,NULL,'2026-02',2026,2,'2026-02-01','2026-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45849,NULL,'2026-03',2026,3,'2026-03-01','2026-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45850,NULL,'2026-04',2026,4,'2026-04-01','2026-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45851,NULL,'2026-05',2026,5,'2026-05-01','2026-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45852,NULL,'2026-06',2026,6,'2026-06-01','2026-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45853,NULL,'2026-07',2026,7,'2026-07-01','2026-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45854,NULL,'2026-08',2026,8,'2026-08-01','2026-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45855,NULL,'2026-09',2026,9,'2026-09-01','2026-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45856,NULL,'2026-10',2026,10,'2026-10-01','2026-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45857,NULL,'2026-11',2026,11,'2026-11-01','2026-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45858,NULL,'2026-12',2026,12,'2026-12-01','2026-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45862,NULL,'2027-01',2027,1,'2027-01-01','2027-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45863,NULL,'2027-02',2027,2,'2027-02-01','2027-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45864,NULL,'2027-03',2027,3,'2027-03-01','2027-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45865,NULL,'2027-04',2027,4,'2027-04-01','2027-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45866,NULL,'2027-05',2027,5,'2027-05-01','2027-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45867,NULL,'2027-06',2027,6,'2027-06-01','2027-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45868,NULL,'2027-07',2027,7,'2027-07-01','2027-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45869,NULL,'2027-08',2027,8,'2027-08-01','2027-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45870,NULL,'2027-09',2027,9,'2027-09-01','2027-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45871,NULL,'2027-10',2027,10,'2027-10-01','2027-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45872,NULL,'2027-11',2027,11,'2027-11-01','2027-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45873,NULL,'2027-12',2027,12,'2027-12-01','2027-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45877,NULL,'2028-01',2028,1,'2028-01-01','2028-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45878,NULL,'2028-02',2028,2,'2028-02-01','2028-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45879,NULL,'2028-03',2028,3,'2028-03-01','2028-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45880,NULL,'2028-04',2028,4,'2028-04-01','2028-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45881,NULL,'2028-05',2028,5,'2028-05-01','2028-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45882,NULL,'2028-06',2028,6,'2028-06-01','2028-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45883,NULL,'2028-07',2028,7,'2028-07-01','2028-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45884,NULL,'2028-08',2028,8,'2028-08-01','2028-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45885,NULL,'2028-09',2028,9,'2028-09-01','2028-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45886,NULL,'2028-10',2028,10,'2028-10-01','2028-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45887,NULL,'2028-11',2028,11,'2028-11-01','2028-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45888,NULL,'2028-12',2028,12,'2028-12-01','2028-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45892,NULL,'2029-01',2029,1,'2029-01-01','2029-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45893,NULL,'2029-02',2029,2,'2029-02-01','2029-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45894,NULL,'2029-03',2029,3,'2029-03-01','2029-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45895,NULL,'2029-04',2029,4,'2029-04-01','2029-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45896,NULL,'2029-05',2029,5,'2029-05-01','2029-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45897,NULL,'2029-06',2029,6,'2029-06-01','2029-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45898,NULL,'2029-07',2029,7,'2029-07-01','2029-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45899,NULL,'2029-08',2029,8,'2029-08-01','2029-08-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45900,NULL,'2029-09',2029,9,'2029-09-01','2029-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45901,NULL,'2029-10',2029,10,'2029-10-01','2029-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45902,NULL,'2029-11',2029,11,'2029-11-01','2029-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45903,NULL,'2029-12',2029,12,'2029-12-01','2029-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45907,NULL,'2030-01',2030,1,'2030-01-01','2030-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45908,NULL,'2030-02',2030,2,'2030-02-01','2030-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45909,NULL,'2030-03',2030,3,'2030-03-01','2030-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45910,NULL,'2030-04',2030,4,'2030-04-01','2030-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45911,NULL,'2030-05',2030,5,'2030-05-01','2030-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45912,NULL,'2030-06',2030,6,'2030-06-01','2030-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45913,NULL,'2030-07',2030,7,'2030-07-01','2030-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45914,NULL,'2030-08',2030,8,'2030-08-01','2030-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45915,NULL,'2030-09',2030,9,'2030-09-01','2030-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45916,NULL,'2030-10',2030,10,'2030-10-01','2030-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45917,NULL,'2030-11',2030,11,'2030-11-01','2030-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45918,NULL,'2030-12',2030,12,'2030-12-01','2030-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45922,NULL,'2031-01',2031,1,'2031-01-01','2031-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45923,NULL,'2031-02',2031,2,'2031-02-01','2031-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45924,NULL,'2031-03',2031,3,'2031-03-01','2031-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45925,NULL,'2031-04',2031,4,'2031-04-01','2031-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45926,NULL,'2031-05',2031,5,'2031-05-01','2031-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45927,NULL,'2031-06',2031,6,'2031-06-01','2031-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45928,NULL,'2031-07',2031,7,'2031-07-01','2031-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45929,NULL,'2031-08',2031,8,'2031-08-01','2031-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45930,NULL,'2031-09',2031,9,'2031-09-01','2031-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45931,NULL,'2031-10',2031,10,'2031-10-01','2031-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45932,NULL,'2031-11',2031,11,'2031-11-01','2031-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45933,NULL,'2031-12',2031,12,'2031-12-01','2031-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45937,NULL,'2032-01',2032,1,'2032-01-01','2032-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45938,NULL,'2032-02',2032,2,'2032-02-01','2032-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45939,NULL,'2032-03',2032,3,'2032-03-01','2032-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45940,NULL,'2032-04',2032,4,'2032-04-01','2032-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45941,NULL,'2032-05',2032,5,'2032-05-01','2032-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45942,NULL,'2032-06',2032,6,'2032-06-01','2032-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45943,NULL,'2032-07',2032,7,'2032-07-01','2032-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45944,NULL,'2032-08',2032,8,'2032-08-01','2032-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45945,NULL,'2032-09',2032,9,'2032-09-01','2032-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45946,NULL,'2032-10',2032,10,'2032-10-01','2032-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45947,NULL,'2032-11',2032,11,'2032-11-01','2032-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45948,NULL,'2032-12',2032,12,'2032-12-01','2032-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45952,NULL,'2033-01',2033,1,'2033-01-01','2033-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45953,NULL,'2033-02',2033,2,'2033-02-01','2033-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45954,NULL,'2033-03',2033,3,'2033-03-01','2033-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45955,NULL,'2033-04',2033,4,'2033-04-01','2033-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45956,NULL,'2033-05',2033,5,'2033-05-01','2033-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45957,NULL,'2033-06',2033,6,'2033-06-01','2033-06-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (45958,NULL,'2033-07',2033,7,'2033-07-01','2033-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45959,NULL,'2033-08',2033,8,'2033-08-01','2033-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45960,NULL,'2033-09',2033,9,'2033-09-01','2033-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45961,NULL,'2033-10',2033,10,'2033-10-01','2033-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45962,NULL,'2033-11',2033,11,'2033-11-01','2033-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45963,NULL,'2033-12',2033,12,'2033-12-01','2033-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45967,NULL,'2034-01',2034,1,'2034-01-01','2034-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45968,NULL,'2034-02',2034,2,'2034-02-01','2034-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45969,NULL,'2034-03',2034,3,'2034-03-01','2034-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45970,NULL,'2034-04',2034,4,'2034-04-01','2034-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45971,NULL,'2034-05',2034,5,'2034-05-01','2034-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45972,NULL,'2034-06',2034,6,'2034-06-01','2034-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45973,NULL,'2034-07',2034,7,'2034-07-01','2034-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45974,NULL,'2034-08',2034,8,'2034-08-01','2034-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45975,NULL,'2034-09',2034,9,'2034-09-01','2034-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45976,NULL,'2034-10',2034,10,'2034-10-01','2034-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45977,NULL,'2034-11',2034,11,'2034-11-01','2034-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45978,NULL,'2034-12',2034,12,'2034-12-01','2034-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45982,NULL,'2035-01',2035,1,'2035-01-01','2035-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45983,NULL,'2035-02',2035,2,'2035-02-01','2035-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45984,NULL,'2035-03',2035,3,'2035-03-01','2035-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45985,NULL,'2035-04',2035,4,'2035-04-01','2035-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45986,NULL,'2035-05',2035,5,'2035-05-01','2035-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45987,NULL,'2035-06',2035,6,'2035-06-01','2035-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45988,NULL,'2035-07',2035,7,'2035-07-01','2035-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45989,NULL,'2035-08',2035,8,'2035-08-01','2035-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45990,NULL,'2035-09',2035,9,'2035-09-01','2035-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45991,NULL,'2035-10',2035,10,'2035-10-01','2035-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45992,NULL,'2035-11',2035,11,'2035-11-01','2035-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(45993,NULL,'2035-12',2035,12,'2035-12-01','2035-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45997,NULL,'2036-01',2036,1,'2036-01-01','2036-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(45998,NULL,'2036-02',2036,2,'2036-02-01','2036-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(45999,NULL,'2036-03',2036,3,'2036-03-01','2036-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46000,NULL,'2036-04',2036,4,'2036-04-01','2036-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46001,NULL,'2036-05',2036,5,'2036-05-01','2036-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46002,NULL,'2036-06',2036,6,'2036-06-01','2036-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46003,NULL,'2036-07',2036,7,'2036-07-01','2036-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46004,NULL,'2036-08',2036,8,'2036-08-01','2036-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46005,NULL,'2036-09',2036,9,'2036-09-01','2036-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46006,NULL,'2036-10',2036,10,'2036-10-01','2036-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46007,NULL,'2036-11',2036,11,'2036-11-01','2036-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46008,NULL,'2036-12',2036,12,'2036-12-01','2036-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46012,NULL,'2037-01',2037,1,'2037-01-01','2037-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46013,NULL,'2037-02',2037,2,'2037-02-01','2037-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46014,NULL,'2037-03',2037,3,'2037-03-01','2037-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46015,NULL,'2037-04',2037,4,'2037-04-01','2037-04-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46016,NULL,'2037-05',2037,5,'2037-05-01','2037-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46017,NULL,'2037-06',2037,6,'2037-06-01','2037-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46018,NULL,'2037-07',2037,7,'2037-07-01','2037-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46019,NULL,'2037-08',2037,8,'2037-08-01','2037-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46020,NULL,'2037-09',2037,9,'2037-09-01','2037-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46021,NULL,'2037-10',2037,10,'2037-10-01','2037-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46022,NULL,'2037-11',2037,11,'2037-11-01','2037-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46023,NULL,'2037-12',2037,12,'2037-12-01','2037-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46027,NULL,'2038-01',2038,1,'2038-01-01','2038-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46028,NULL,'2038-02',2038,2,'2038-02-01','2038-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46029,NULL,'2038-03',2038,3,'2038-03-01','2038-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46030,NULL,'2038-04',2038,4,'2038-04-01','2038-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46031,NULL,'2038-05',2038,5,'2038-05-01','2038-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46032,NULL,'2038-06',2038,6,'2038-06-01','2038-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46033,NULL,'2038-07',2038,7,'2038-07-01','2038-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46034,NULL,'2038-08',2038,8,'2038-08-01','2038-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46035,NULL,'2038-09',2038,9,'2038-09-01','2038-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46036,NULL,'2038-10',2038,10,'2038-10-01','2038-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46037,NULL,'2038-11',2038,11,'2038-11-01','2038-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46038,NULL,'2038-12',2038,12,'2038-12-01','2038-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46042,NULL,'2039-01',2039,1,'2039-01-01','2039-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46043,NULL,'2039-02',2039,2,'2039-02-01','2039-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46044,NULL,'2039-03',2039,3,'2039-03-01','2039-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46045,NULL,'2039-04',2039,4,'2039-04-01','2039-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46046,NULL,'2039-05',2039,5,'2039-05-01','2039-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46047,NULL,'2039-06',2039,6,'2039-06-01','2039-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46048,NULL,'2039-07',2039,7,'2039-07-01','2039-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46049,NULL,'2039-08',2039,8,'2039-08-01','2039-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46050,NULL,'2039-09',2039,9,'2039-09-01','2039-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46051,NULL,'2039-10',2039,10,'2039-10-01','2039-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46052,NULL,'2039-11',2039,11,'2039-11-01','2039-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46053,NULL,'2039-12',2039,12,'2039-12-01','2039-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46057,NULL,'2040-01',2040,1,'2040-01-01','2040-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46058,NULL,'2040-02',2040,2,'2040-02-01','2040-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46059,NULL,'2040-03',2040,3,'2040-03-01','2040-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46060,NULL,'2040-04',2040,4,'2040-04-01','2040-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46061,NULL,'2040-05',2040,5,'2040-05-01','2040-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46062,NULL,'2040-06',2040,6,'2040-06-01','2040-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46063,NULL,'2040-07',2040,7,'2040-07-01','2040-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46064,NULL,'2040-08',2040,8,'2040-08-01','2040-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46065,NULL,'2040-09',2040,9,'2040-09-01','2040-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46066,NULL,'2040-10',2040,10,'2040-10-01','2040-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46067,NULL,'2040-11',2040,11,'2040-11-01','2040-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46068,NULL,'2040-12',2040,12,'2040-12-01','2040-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46072,NULL,'2041-01',2041,1,'2041-01-01','2041-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46073,NULL,'2041-02',2041,2,'2041-02-01','2041-02-28',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46074,NULL,'2041-03',2041,3,'2041-03-01','2041-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46075,NULL,'2041-04',2041,4,'2041-04-01','2041-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46076,NULL,'2041-05',2041,5,'2041-05-01','2041-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46077,NULL,'2041-06',2041,6,'2041-06-01','2041-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46078,NULL,'2041-07',2041,7,'2041-07-01','2041-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46079,NULL,'2041-08',2041,8,'2041-08-01','2041-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46080,NULL,'2041-09',2041,9,'2041-09-01','2041-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46081,NULL,'2041-10',2041,10,'2041-10-01','2041-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46082,NULL,'2041-11',2041,11,'2041-11-01','2041-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46083,NULL,'2041-12',2041,12,'2041-12-01','2041-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46087,NULL,'2042-01',2042,1,'2042-01-01','2042-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46088,NULL,'2042-02',2042,2,'2042-02-01','2042-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46089,NULL,'2042-03',2042,3,'2042-03-01','2042-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46090,NULL,'2042-04',2042,4,'2042-04-01','2042-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46091,NULL,'2042-05',2042,5,'2042-05-01','2042-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46092,NULL,'2042-06',2042,6,'2042-06-01','2042-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46093,NULL,'2042-07',2042,7,'2042-07-01','2042-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46094,NULL,'2042-08',2042,8,'2042-08-01','2042-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46095,NULL,'2042-09',2042,9,'2042-09-01','2042-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46096,NULL,'2042-10',2042,10,'2042-10-01','2042-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46097,NULL,'2042-11',2042,11,'2042-11-01','2042-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46098,NULL,'2042-12',2042,12,'2042-12-01','2042-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46102,NULL,'2043-01',2043,1,'2043-01-01','2043-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46103,NULL,'2043-02',2043,2,'2043-02-01','2043-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46104,NULL,'2043-03',2043,3,'2043-03-01','2043-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46105,NULL,'2043-04',2043,4,'2043-04-01','2043-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46106,NULL,'2043-05',2043,5,'2043-05-01','2043-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46107,NULL,'2043-06',2043,6,'2043-06-01','2043-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46108,NULL,'2043-07',2043,7,'2043-07-01','2043-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46109,NULL,'2043-08',2043,8,'2043-08-01','2043-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46110,NULL,'2043-09',2043,9,'2043-09-01','2043-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46111,NULL,'2043-10',2043,10,'2043-10-01','2043-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46112,NULL,'2043-11',2043,11,'2043-11-01','2043-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46113,NULL,'2043-12',2043,12,'2043-12-01','2043-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46117,NULL,'2044-01',2044,1,'2044-01-01','2044-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46118,NULL,'2044-02',2044,2,'2044-02-01','2044-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46119,NULL,'2044-03',2044,3,'2044-03-01','2044-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46120,NULL,'2044-04',2044,4,'2044-04-01','2044-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46121,NULL,'2044-05',2044,5,'2044-05-01','2044-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46122,NULL,'2044-06',2044,6,'2044-06-01','2044-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46123,NULL,'2044-07',2044,7,'2044-07-01','2044-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46124,NULL,'2044-08',2044,8,'2044-08-01','2044-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46125,NULL,'2044-09',2044,9,'2044-09-01','2044-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46126,NULL,'2044-10',2044,10,'2044-10-01','2044-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46127,NULL,'2044-11',2044,11,'2044-11-01','2044-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46128,NULL,'2044-12',2044,12,'2044-12-01','2044-12-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46132,NULL,'2045-01',2045,1,'2045-01-01','2045-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46133,NULL,'2045-02',2045,2,'2045-02-01','2045-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46134,NULL,'2045-03',2045,3,'2045-03-01','2045-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46135,NULL,'2045-04',2045,4,'2045-04-01','2045-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46136,NULL,'2045-05',2045,5,'2045-05-01','2045-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46137,NULL,'2045-06',2045,6,'2045-06-01','2045-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46138,NULL,'2045-07',2045,7,'2045-07-01','2045-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46139,NULL,'2045-08',2045,8,'2045-08-01','2045-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46140,NULL,'2045-09',2045,9,'2045-09-01','2045-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46141,NULL,'2045-10',2045,10,'2045-10-01','2045-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46142,NULL,'2045-11',2045,11,'2045-11-01','2045-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46143,NULL,'2045-12',2045,12,'2045-12-01','2045-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46147,NULL,'2046-01',2046,1,'2046-01-01','2046-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46148,NULL,'2046-02',2046,2,'2046-02-01','2046-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46149,NULL,'2046-03',2046,3,'2046-03-01','2046-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46150,NULL,'2046-04',2046,4,'2046-04-01','2046-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46151,NULL,'2046-05',2046,5,'2046-05-01','2046-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46152,NULL,'2046-06',2046,6,'2046-06-01','2046-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46153,NULL,'2046-07',2046,7,'2046-07-01','2046-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46154,NULL,'2046-08',2046,8,'2046-08-01','2046-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46155,NULL,'2046-09',2046,9,'2046-09-01','2046-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46156,NULL,'2046-10',2046,10,'2046-10-01','2046-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46157,NULL,'2046-11',2046,11,'2046-11-01','2046-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46158,NULL,'2046-12',2046,12,'2046-12-01','2046-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46162,NULL,'2047-01',2047,1,'2047-01-01','2047-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46163,NULL,'2047-02',2047,2,'2047-02-01','2047-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46164,NULL,'2047-03',2047,3,'2047-03-01','2047-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46165,NULL,'2047-04',2047,4,'2047-04-01','2047-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46166,NULL,'2047-05',2047,5,'2047-05-01','2047-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46167,NULL,'2047-06',2047,6,'2047-06-01','2047-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46168,NULL,'2047-07',2047,7,'2047-07-01','2047-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46169,NULL,'2047-08',2047,8,'2047-08-01','2047-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46170,NULL,'2047-09',2047,9,'2047-09-01','2047-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46171,NULL,'2047-10',2047,10,'2047-10-01','2047-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46172,NULL,'2047-11',2047,11,'2047-11-01','2047-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46173,NULL,'2047-12',2047,12,'2047-12-01','2047-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46177,NULL,'2048-01',2048,1,'2048-01-01','2048-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46178,NULL,'2048-02',2048,2,'2048-02-01','2048-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46179,NULL,'2048-03',2048,3,'2048-03-01','2048-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46180,NULL,'2048-04',2048,4,'2048-04-01','2048-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46181,NULL,'2048-05',2048,5,'2048-05-01','2048-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46182,NULL,'2048-06',2048,6,'2048-06-01','2048-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46183,NULL,'2048-07',2048,7,'2048-07-01','2048-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46184,NULL,'2048-08',2048,8,'2048-08-01','2048-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46185,NULL,'2048-09',2048,9,'2048-09-01','2048-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46186,NULL,'2048-10',2048,10,'2048-10-01','2048-10-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46187,NULL,'2048-11',2048,11,'2048-11-01','2048-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46188,NULL,'2048-12',2048,12,'2048-12-01','2048-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46192,NULL,'2049-01',2049,1,'2049-01-01','2049-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46193,NULL,'2049-02',2049,2,'2049-02-01','2049-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46194,NULL,'2049-03',2049,3,'2049-03-01','2049-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46195,NULL,'2049-04',2049,4,'2049-04-01','2049-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46196,NULL,'2049-05',2049,5,'2049-05-01','2049-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46197,NULL,'2049-06',2049,6,'2049-06-01','2049-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46198,NULL,'2049-07',2049,7,'2049-07-01','2049-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46199,NULL,'2049-08',2049,8,'2049-08-01','2049-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46200,NULL,'2049-09',2049,9,'2049-09-01','2049-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46201,NULL,'2049-10',2049,10,'2049-10-01','2049-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46202,NULL,'2049-11',2049,11,'2049-11-01','2049-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46203,NULL,'2049-12',2049,12,'2049-12-01','2049-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46207,NULL,'2050-01',2050,1,'2050-01-01','2050-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46208,NULL,'2050-02',2050,2,'2050-02-01','2050-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46209,NULL,'2050-03',2050,3,'2050-03-01','2050-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46210,NULL,'2050-04',2050,4,'2050-04-01','2050-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46211,NULL,'2050-05',2050,5,'2050-05-01','2050-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46212,NULL,'2050-06',2050,6,'2050-06-01','2050-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46213,NULL,'2050-07',2050,7,'2050-07-01','2050-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46214,NULL,'2050-08',2050,8,'2050-08-01','2050-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46215,NULL,'2050-09',2050,9,'2050-09-01','2050-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46216,NULL,'2050-10',2050,10,'2050-10-01','2050-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46217,NULL,'2050-11',2050,11,'2050-11-01','2050-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46218,NULL,'2050-12',2050,12,'2050-12-01','2050-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46222,NULL,'2051-01',2051,1,'2051-01-01','2051-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46223,NULL,'2051-02',2051,2,'2051-02-01','2051-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46224,NULL,'2051-03',2051,3,'2051-03-01','2051-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46225,NULL,'2051-04',2051,4,'2051-04-01','2051-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46226,NULL,'2051-05',2051,5,'2051-05-01','2051-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46227,NULL,'2051-06',2051,6,'2051-06-01','2051-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46228,NULL,'2051-07',2051,7,'2051-07-01','2051-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46229,NULL,'2051-08',2051,8,'2051-08-01','2051-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46230,NULL,'2051-09',2051,9,'2051-09-01','2051-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46231,NULL,'2051-10',2051,10,'2051-10-01','2051-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46232,NULL,'2051-11',2051,11,'2051-11-01','2051-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46233,NULL,'2051-12',2051,12,'2051-12-01','2051-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46237,NULL,'2052-01',2052,1,'2052-01-01','2052-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46238,NULL,'2052-02',2052,2,'2052-02-01','2052-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46239,NULL,'2052-03',2052,3,'2052-03-01','2052-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46240,NULL,'2052-04',2052,4,'2052-04-01','2052-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46241,NULL,'2052-05',2052,5,'2052-05-01','2052-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46242,NULL,'2052-06',2052,6,'2052-06-01','2052-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46243,NULL,'2052-07',2052,7,'2052-07-01','2052-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46244,NULL,'2052-08',2052,8,'2052-08-01','2052-08-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46245,NULL,'2052-09',2052,9,'2052-09-01','2052-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46246,NULL,'2052-10',2052,10,'2052-10-01','2052-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46247,NULL,'2052-11',2052,11,'2052-11-01','2052-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46248,NULL,'2052-12',2052,12,'2052-12-01','2052-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46252,NULL,'2053-01',2053,1,'2053-01-01','2053-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46253,NULL,'2053-02',2053,2,'2053-02-01','2053-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46254,NULL,'2053-03',2053,3,'2053-03-01','2053-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46255,NULL,'2053-04',2053,4,'2053-04-01','2053-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46256,NULL,'2053-05',2053,5,'2053-05-01','2053-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46257,NULL,'2053-06',2053,6,'2053-06-01','2053-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46258,NULL,'2053-07',2053,7,'2053-07-01','2053-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46259,NULL,'2053-08',2053,8,'2053-08-01','2053-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46260,NULL,'2053-09',2053,9,'2053-09-01','2053-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46261,NULL,'2053-10',2053,10,'2053-10-01','2053-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46262,NULL,'2053-11',2053,11,'2053-11-01','2053-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46263,NULL,'2053-12',2053,12,'2053-12-01','2053-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46267,NULL,'2054-01',2054,1,'2054-01-01','2054-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46268,NULL,'2054-02',2054,2,'2054-02-01','2054-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46269,NULL,'2054-03',2054,3,'2054-03-01','2054-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46270,NULL,'2054-04',2054,4,'2054-04-01','2054-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46271,NULL,'2054-05',2054,5,'2054-05-01','2054-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46272,NULL,'2054-06',2054,6,'2054-06-01','2054-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46273,NULL,'2054-07',2054,7,'2054-07-01','2054-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46274,NULL,'2054-08',2054,8,'2054-08-01','2054-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46275,NULL,'2054-09',2054,9,'2054-09-01','2054-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46276,NULL,'2054-10',2054,10,'2054-10-01','2054-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46277,NULL,'2054-11',2054,11,'2054-11-01','2054-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46278,NULL,'2054-12',2054,12,'2054-12-01','2054-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46282,NULL,'2055-01',2055,1,'2055-01-01','2055-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46283,NULL,'2055-02',2055,2,'2055-02-01','2055-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46284,NULL,'2055-03',2055,3,'2055-03-01','2055-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46285,NULL,'2055-04',2055,4,'2055-04-01','2055-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46286,NULL,'2055-05',2055,5,'2055-05-01','2055-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46287,NULL,'2055-06',2055,6,'2055-06-01','2055-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46288,NULL,'2055-07',2055,7,'2055-07-01','2055-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46289,NULL,'2055-08',2055,8,'2055-08-01','2055-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46290,NULL,'2055-09',2055,9,'2055-09-01','2055-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46291,NULL,'2055-10',2055,10,'2055-10-01','2055-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46292,NULL,'2055-11',2055,11,'2055-11-01','2055-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46293,NULL,'2055-12',2055,12,'2055-12-01','2055-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46297,NULL,'2056-01',2056,1,'2056-01-01','2056-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46298,NULL,'2056-02',2056,2,'2056-02-01','2056-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46299,NULL,'2056-03',2056,3,'2056-03-01','2056-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46300,NULL,'2056-04',2056,4,'2056-04-01','2056-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46301,NULL,'2056-05',2056,5,'2056-05-01','2056-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46302,NULL,'2056-06',2056,6,'2056-06-01','2056-06-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46303,NULL,'2056-07',2056,7,'2056-07-01','2056-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46304,NULL,'2056-08',2056,8,'2056-08-01','2056-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46305,NULL,'2056-09',2056,9,'2056-09-01','2056-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46306,NULL,'2056-10',2056,10,'2056-10-01','2056-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46307,NULL,'2056-11',2056,11,'2056-11-01','2056-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46308,NULL,'2056-12',2056,12,'2056-12-01','2056-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46312,NULL,'2057-01',2057,1,'2057-01-01','2057-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46313,NULL,'2057-02',2057,2,'2057-02-01','2057-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46314,NULL,'2057-03',2057,3,'2057-03-01','2057-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46315,NULL,'2057-04',2057,4,'2057-04-01','2057-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46316,NULL,'2057-05',2057,5,'2057-05-01','2057-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46317,NULL,'2057-06',2057,6,'2057-06-01','2057-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46318,NULL,'2057-07',2057,7,'2057-07-01','2057-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46319,NULL,'2057-08',2057,8,'2057-08-01','2057-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46320,NULL,'2057-09',2057,9,'2057-09-01','2057-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46321,NULL,'2057-10',2057,10,'2057-10-01','2057-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46322,NULL,'2057-11',2057,11,'2057-11-01','2057-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46323,NULL,'2057-12',2057,12,'2057-12-01','2057-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46327,NULL,'2058-01',2058,1,'2058-01-01','2058-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46328,NULL,'2058-02',2058,2,'2058-02-01','2058-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46329,NULL,'2058-03',2058,3,'2058-03-01','2058-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46330,NULL,'2058-04',2058,4,'2058-04-01','2058-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46331,NULL,'2058-05',2058,5,'2058-05-01','2058-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46332,NULL,'2058-06',2058,6,'2058-06-01','2058-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46333,NULL,'2058-07',2058,7,'2058-07-01','2058-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46334,NULL,'2058-08',2058,8,'2058-08-01','2058-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46335,NULL,'2058-09',2058,9,'2058-09-01','2058-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46336,NULL,'2058-10',2058,10,'2058-10-01','2058-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46337,NULL,'2058-11',2058,11,'2058-11-01','2058-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46338,NULL,'2058-12',2058,12,'2058-12-01','2058-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46342,NULL,'2059-01',2059,1,'2059-01-01','2059-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46343,NULL,'2059-02',2059,2,'2059-02-01','2059-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46344,NULL,'2059-03',2059,3,'2059-03-01','2059-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46345,NULL,'2059-04',2059,4,'2059-04-01','2059-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46346,NULL,'2059-05',2059,5,'2059-05-01','2059-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46347,NULL,'2059-06',2059,6,'2059-06-01','2059-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46348,NULL,'2059-07',2059,7,'2059-07-01','2059-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46349,NULL,'2059-08',2059,8,'2059-08-01','2059-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46350,NULL,'2059-09',2059,9,'2059-09-01','2059-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46351,NULL,'2059-10',2059,10,'2059-10-01','2059-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46352,NULL,'2059-11',2059,11,'2059-11-01','2059-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46353,NULL,'2059-12',2059,12,'2059-12-01','2059-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46357,NULL,'2060-01',2060,1,'2060-01-01','2060-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46358,NULL,'2060-02',2060,2,'2060-02-01','2060-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46359,NULL,'2060-03',2060,3,'2060-03-01','2060-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46360,NULL,'2060-04',2060,4,'2060-04-01','2060-04-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46361,NULL,'2060-05',2060,5,'2060-05-01','2060-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46362,NULL,'2060-06',2060,6,'2060-06-01','2060-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46363,NULL,'2060-07',2060,7,'2060-07-01','2060-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46364,NULL,'2060-08',2060,8,'2060-08-01','2060-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46365,NULL,'2060-09',2060,9,'2060-09-01','2060-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46366,NULL,'2060-10',2060,10,'2060-10-01','2060-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46367,NULL,'2060-11',2060,11,'2060-11-01','2060-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46368,NULL,'2060-12',2060,12,'2060-12-01','2060-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46372,NULL,'2061-01',2061,1,'2061-01-01','2061-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46373,NULL,'2061-02',2061,2,'2061-02-01','2061-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46374,NULL,'2061-03',2061,3,'2061-03-01','2061-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46375,NULL,'2061-04',2061,4,'2061-04-01','2061-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46376,NULL,'2061-05',2061,5,'2061-05-01','2061-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46377,NULL,'2061-06',2061,6,'2061-06-01','2061-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46378,NULL,'2061-07',2061,7,'2061-07-01','2061-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46379,NULL,'2061-08',2061,8,'2061-08-01','2061-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46380,NULL,'2061-09',2061,9,'2061-09-01','2061-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46381,NULL,'2061-10',2061,10,'2061-10-01','2061-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46382,NULL,'2061-11',2061,11,'2061-11-01','2061-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46383,NULL,'2061-12',2061,12,'2061-12-01','2061-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46387,NULL,'2062-01',2062,1,'2062-01-01','2062-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46388,NULL,'2062-02',2062,2,'2062-02-01','2062-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46389,NULL,'2062-03',2062,3,'2062-03-01','2062-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46390,NULL,'2062-04',2062,4,'2062-04-01','2062-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46391,NULL,'2062-05',2062,5,'2062-05-01','2062-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46392,NULL,'2062-06',2062,6,'2062-06-01','2062-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46393,NULL,'2062-07',2062,7,'2062-07-01','2062-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46394,NULL,'2062-08',2062,8,'2062-08-01','2062-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46395,NULL,'2062-09',2062,9,'2062-09-01','2062-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46396,NULL,'2062-10',2062,10,'2062-10-01','2062-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46397,NULL,'2062-11',2062,11,'2062-11-01','2062-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46398,NULL,'2062-12',2062,12,'2062-12-01','2062-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46402,NULL,'2063-01',2063,1,'2063-01-01','2063-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46403,NULL,'2063-02',2063,2,'2063-02-01','2063-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46404,NULL,'2063-03',2063,3,'2063-03-01','2063-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46405,NULL,'2063-04',2063,4,'2063-04-01','2063-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46406,NULL,'2063-05',2063,5,'2063-05-01','2063-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46407,NULL,'2063-06',2063,6,'2063-06-01','2063-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46408,NULL,'2063-07',2063,7,'2063-07-01','2063-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46409,NULL,'2063-08',2063,8,'2063-08-01','2063-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46410,NULL,'2063-09',2063,9,'2063-09-01','2063-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46411,NULL,'2063-10',2063,10,'2063-10-01','2063-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46412,NULL,'2063-11',2063,11,'2063-11-01','2063-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46413,NULL,'2063-12',2063,12,'2063-12-01','2063-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46417,NULL,'2064-01',2064,1,'2064-01-01','2064-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46418,NULL,'2064-02',2064,2,'2064-02-01','2064-02-28',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46419,NULL,'2064-03',2064,3,'2064-03-01','2064-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46420,NULL,'2064-04',2064,4,'2064-04-01','2064-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46421,NULL,'2064-05',2064,5,'2064-05-01','2064-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46422,NULL,'2064-06',2064,6,'2064-06-01','2064-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46423,NULL,'2064-07',2064,7,'2064-07-01','2064-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46424,NULL,'2064-08',2064,8,'2064-08-01','2064-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46425,NULL,'2064-09',2064,9,'2064-09-01','2064-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46426,NULL,'2064-10',2064,10,'2064-10-01','2064-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46427,NULL,'2064-11',2064,11,'2064-11-01','2064-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46428,NULL,'2064-12',2064,12,'2064-12-01','2064-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46432,NULL,'2065-01',2065,1,'2065-01-01','2065-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46433,NULL,'2065-02',2065,2,'2065-02-01','2065-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46434,NULL,'2065-03',2065,3,'2065-03-01','2065-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46435,NULL,'2065-04',2065,4,'2065-04-01','2065-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46436,NULL,'2065-05',2065,5,'2065-05-01','2065-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46437,NULL,'2065-06',2065,6,'2065-06-01','2065-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46438,NULL,'2065-07',2065,7,'2065-07-01','2065-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46439,NULL,'2065-08',2065,8,'2065-08-01','2065-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46440,NULL,'2065-09',2065,9,'2065-09-01','2065-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46441,NULL,'2065-10',2065,10,'2065-10-01','2065-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46442,NULL,'2065-11',2065,11,'2065-11-01','2065-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46443,NULL,'2065-12',2065,12,'2065-12-01','2065-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46447,NULL,'2066-01',2066,1,'2066-01-01','2066-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46448,NULL,'2066-02',2066,2,'2066-02-01','2066-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46449,NULL,'2066-03',2066,3,'2066-03-01','2066-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46450,NULL,'2066-04',2066,4,'2066-04-01','2066-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46451,NULL,'2066-05',2066,5,'2066-05-01','2066-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46452,NULL,'2066-06',2066,6,'2066-06-01','2066-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46453,NULL,'2066-07',2066,7,'2066-07-01','2066-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46454,NULL,'2066-08',2066,8,'2066-08-01','2066-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46455,NULL,'2066-09',2066,9,'2066-09-01','2066-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46456,NULL,'2066-10',2066,10,'2066-10-01','2066-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46457,NULL,'2066-11',2066,11,'2066-11-01','2066-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46458,NULL,'2066-12',2066,12,'2066-12-01','2066-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46462,NULL,'2067-01',2067,1,'2067-01-01','2067-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46463,NULL,'2067-02',2067,2,'2067-02-01','2067-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46464,NULL,'2067-03',2067,3,'2067-03-01','2067-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46465,NULL,'2067-04',2067,4,'2067-04-01','2067-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46466,NULL,'2067-05',2067,5,'2067-05-01','2067-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46467,NULL,'2067-06',2067,6,'2067-06-01','2067-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46468,NULL,'2067-07',2067,7,'2067-07-01','2067-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46469,NULL,'2067-08',2067,8,'2067-08-01','2067-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46470,NULL,'2067-09',2067,9,'2067-09-01','2067-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46471,NULL,'2067-10',2067,10,'2067-10-01','2067-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46472,NULL,'2067-11',2067,11,'2067-11-01','2067-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46473,NULL,'2067-12',2067,12,'2067-12-01','2067-12-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46477,NULL,'2068-01',2068,1,'2068-01-01','2068-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46478,NULL,'2068-02',2068,2,'2068-02-01','2068-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46479,NULL,'2068-03',2068,3,'2068-03-01','2068-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46480,NULL,'2068-04',2068,4,'2068-04-01','2068-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46481,NULL,'2068-05',2068,5,'2068-05-01','2068-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46482,NULL,'2068-06',2068,6,'2068-06-01','2068-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46483,NULL,'2068-07',2068,7,'2068-07-01','2068-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46484,NULL,'2068-08',2068,8,'2068-08-01','2068-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46485,NULL,'2068-09',2068,9,'2068-09-01','2068-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46486,NULL,'2068-10',2068,10,'2068-10-01','2068-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46487,NULL,'2068-11',2068,11,'2068-11-01','2068-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46488,NULL,'2068-12',2068,12,'2068-12-01','2068-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46492,NULL,'2069-01',2069,1,'2069-01-01','2069-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46493,NULL,'2069-02',2069,2,'2069-02-01','2069-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46494,NULL,'2069-03',2069,3,'2069-03-01','2069-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46495,NULL,'2069-04',2069,4,'2069-04-01','2069-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46496,NULL,'2069-05',2069,5,'2069-05-01','2069-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46497,NULL,'2069-06',2069,6,'2069-06-01','2069-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46498,NULL,'2069-07',2069,7,'2069-07-01','2069-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46499,NULL,'2069-08',2069,8,'2069-08-01','2069-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46500,NULL,'2069-09',2069,9,'2069-09-01','2069-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46501,NULL,'2069-10',2069,10,'2069-10-01','2069-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46502,NULL,'2069-11',2069,11,'2069-11-01','2069-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46503,NULL,'2069-12',2069,12,'2069-12-01','2069-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46507,NULL,'2070-01',2070,1,'2070-01-01','2070-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46508,NULL,'2070-02',2070,2,'2070-02-01','2070-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46509,NULL,'2070-03',2070,3,'2070-03-01','2070-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46510,NULL,'2070-04',2070,4,'2070-04-01','2070-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46511,NULL,'2070-05',2070,5,'2070-05-01','2070-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46512,NULL,'2070-06',2070,6,'2070-06-01','2070-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46513,NULL,'2070-07',2070,7,'2070-07-01','2070-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46514,NULL,'2070-08',2070,8,'2070-08-01','2070-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46515,NULL,'2070-09',2070,9,'2070-09-01','2070-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46516,NULL,'2070-10',2070,10,'2070-10-01','2070-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46517,NULL,'2070-11',2070,11,'2070-11-01','2070-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46518,NULL,'2070-12',2070,12,'2070-12-01','2070-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46522,NULL,'2071-01',2071,1,'2071-01-01','2071-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46523,NULL,'2071-02',2071,2,'2071-02-01','2071-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46524,NULL,'2071-03',2071,3,'2071-03-01','2071-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46525,NULL,'2071-04',2071,4,'2071-04-01','2071-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46526,NULL,'2071-05',2071,5,'2071-05-01','2071-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46527,NULL,'2071-06',2071,6,'2071-06-01','2071-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46528,NULL,'2071-07',2071,7,'2071-07-01','2071-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46529,NULL,'2071-08',2071,8,'2071-08-01','2071-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46530,NULL,'2071-09',2071,9,'2071-09-01','2071-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46531,NULL,'2071-10',2071,10,'2071-10-01','2071-10-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46532,NULL,'2071-11',2071,11,'2071-11-01','2071-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46533,NULL,'2071-12',2071,12,'2071-12-01','2071-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46537,NULL,'2072-01',2072,1,'2072-01-01','2072-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46538,NULL,'2072-02',2072,2,'2072-02-01','2072-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46539,NULL,'2072-03',2072,3,'2072-03-01','2072-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46540,NULL,'2072-04',2072,4,'2072-04-01','2072-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46541,NULL,'2072-05',2072,5,'2072-05-01','2072-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46542,NULL,'2072-06',2072,6,'2072-06-01','2072-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46543,NULL,'2072-07',2072,7,'2072-07-01','2072-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46544,NULL,'2072-08',2072,8,'2072-08-01','2072-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46545,NULL,'2072-09',2072,9,'2072-09-01','2072-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46546,NULL,'2072-10',2072,10,'2072-10-01','2072-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46547,NULL,'2072-11',2072,11,'2072-11-01','2072-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46548,NULL,'2072-12',2072,12,'2072-12-01','2072-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46552,NULL,'2073-01',2073,1,'2073-01-01','2073-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46553,NULL,'2073-02',2073,2,'2073-02-01','2073-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46554,NULL,'2073-03',2073,3,'2073-03-01','2073-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46555,NULL,'2073-04',2073,4,'2073-04-01','2073-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46556,NULL,'2073-05',2073,5,'2073-05-01','2073-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46557,NULL,'2073-06',2073,6,'2073-06-01','2073-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46558,NULL,'2073-07',2073,7,'2073-07-01','2073-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46559,NULL,'2073-08',2073,8,'2073-08-01','2073-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46560,NULL,'2073-09',2073,9,'2073-09-01','2073-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46561,NULL,'2073-10',2073,10,'2073-10-01','2073-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46562,NULL,'2073-11',2073,11,'2073-11-01','2073-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46563,NULL,'2073-12',2073,12,'2073-12-01','2073-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46567,NULL,'2074-01',2074,1,'2074-01-01','2074-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46568,NULL,'2074-02',2074,2,'2074-02-01','2074-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46569,NULL,'2074-03',2074,3,'2074-03-01','2074-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46570,NULL,'2074-04',2074,4,'2074-04-01','2074-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46571,NULL,'2074-05',2074,5,'2074-05-01','2074-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46572,NULL,'2074-06',2074,6,'2074-06-01','2074-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46573,NULL,'2074-07',2074,7,'2074-07-01','2074-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46574,NULL,'2074-08',2074,8,'2074-08-01','2074-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46575,NULL,'2074-09',2074,9,'2074-09-01','2074-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46576,NULL,'2074-10',2074,10,'2074-10-01','2074-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46577,NULL,'2074-11',2074,11,'2074-11-01','2074-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46578,NULL,'2074-12',2074,12,'2074-12-01','2074-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46582,NULL,'2075-01',2075,1,'2075-01-01','2075-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46583,NULL,'2075-02',2075,2,'2075-02-01','2075-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46584,NULL,'2075-03',2075,3,'2075-03-01','2075-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46585,NULL,'2075-04',2075,4,'2075-04-01','2075-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46586,NULL,'2075-05',2075,5,'2075-05-01','2075-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46587,NULL,'2075-06',2075,6,'2075-06-01','2075-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46588,NULL,'2075-07',2075,7,'2075-07-01','2075-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46589,NULL,'2075-08',2075,8,'2075-08-01','2075-08-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46590,NULL,'2075-09',2075,9,'2075-09-01','2075-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46591,NULL,'2075-10',2075,10,'2075-10-01','2075-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46592,NULL,'2075-11',2075,11,'2075-11-01','2075-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46593,NULL,'2075-12',2075,12,'2075-12-01','2075-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46597,NULL,'2076-01',2076,1,'2076-01-01','2076-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46598,NULL,'2076-02',2076,2,'2076-02-01','2076-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46599,NULL,'2076-03',2076,3,'2076-03-01','2076-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46600,NULL,'2076-04',2076,4,'2076-04-01','2076-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46601,NULL,'2076-05',2076,5,'2076-05-01','2076-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46602,NULL,'2076-06',2076,6,'2076-06-01','2076-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46603,NULL,'2076-07',2076,7,'2076-07-01','2076-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46604,NULL,'2076-08',2076,8,'2076-08-01','2076-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46605,NULL,'2076-09',2076,9,'2076-09-01','2076-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46606,NULL,'2076-10',2076,10,'2076-10-01','2076-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46607,NULL,'2076-11',2076,11,'2076-11-01','2076-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46608,NULL,'2076-12',2076,12,'2076-12-01','2076-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46612,NULL,'2077-01',2077,1,'2077-01-01','2077-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46613,NULL,'2077-02',2077,2,'2077-02-01','2077-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46614,NULL,'2077-03',2077,3,'2077-03-01','2077-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46615,NULL,'2077-04',2077,4,'2077-04-01','2077-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46616,NULL,'2077-05',2077,5,'2077-05-01','2077-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46617,NULL,'2077-06',2077,6,'2077-06-01','2077-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46618,NULL,'2077-07',2077,7,'2077-07-01','2077-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46619,NULL,'2077-08',2077,8,'2077-08-01','2077-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46620,NULL,'2077-09',2077,9,'2077-09-01','2077-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46621,NULL,'2077-10',2077,10,'2077-10-01','2077-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46622,NULL,'2077-11',2077,11,'2077-11-01','2077-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46623,NULL,'2077-12',2077,12,'2077-12-01','2077-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46627,NULL,'2078-01',2078,1,'2078-01-01','2078-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46628,NULL,'2078-02',2078,2,'2078-02-01','2078-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46629,NULL,'2078-03',2078,3,'2078-03-01','2078-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46630,NULL,'2078-04',2078,4,'2078-04-01','2078-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46631,NULL,'2078-05',2078,5,'2078-05-01','2078-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46632,NULL,'2078-06',2078,6,'2078-06-01','2078-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46633,NULL,'2078-07',2078,7,'2078-07-01','2078-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46634,NULL,'2078-08',2078,8,'2078-08-01','2078-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46635,NULL,'2078-09',2078,9,'2078-09-01','2078-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46636,NULL,'2078-10',2078,10,'2078-10-01','2078-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46637,NULL,'2078-11',2078,11,'2078-11-01','2078-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46638,NULL,'2078-12',2078,12,'2078-12-01','2078-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46642,NULL,'2079-01',2079,1,'2079-01-01','2079-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46643,NULL,'2079-02',2079,2,'2079-02-01','2079-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46644,NULL,'2079-03',2079,3,'2079-03-01','2079-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46645,NULL,'2079-04',2079,4,'2079-04-01','2079-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46646,NULL,'2079-05',2079,5,'2079-05-01','2079-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46647,NULL,'2079-06',2079,6,'2079-06-01','2079-06-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46648,NULL,'2079-07',2079,7,'2079-07-01','2079-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46649,NULL,'2079-08',2079,8,'2079-08-01','2079-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46650,NULL,'2079-09',2079,9,'2079-09-01','2079-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46651,NULL,'2079-10',2079,10,'2079-10-01','2079-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46652,NULL,'2079-11',2079,11,'2079-11-01','2079-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46653,NULL,'2079-12',2079,12,'2079-12-01','2079-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46657,NULL,'2080-01',2080,1,'2080-01-01','2080-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46658,NULL,'2080-02',2080,2,'2080-02-01','2080-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46659,NULL,'2080-03',2080,3,'2080-03-01','2080-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46660,NULL,'2080-04',2080,4,'2080-04-01','2080-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46661,NULL,'2080-05',2080,5,'2080-05-01','2080-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46662,NULL,'2080-06',2080,6,'2080-06-01','2080-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46663,NULL,'2080-07',2080,7,'2080-07-01','2080-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46664,NULL,'2080-08',2080,8,'2080-08-01','2080-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46665,NULL,'2080-09',2080,9,'2080-09-01','2080-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46666,NULL,'2080-10',2080,10,'2080-10-01','2080-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46667,NULL,'2080-11',2080,11,'2080-11-01','2080-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46668,NULL,'2080-12',2080,12,'2080-12-01','2080-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46672,NULL,'2081-01',2081,1,'2081-01-01','2081-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46673,NULL,'2081-02',2081,2,'2081-02-01','2081-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46674,NULL,'2081-03',2081,3,'2081-03-01','2081-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46675,NULL,'2081-04',2081,4,'2081-04-01','2081-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46676,NULL,'2081-05',2081,5,'2081-05-01','2081-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46677,NULL,'2081-06',2081,6,'2081-06-01','2081-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46678,NULL,'2081-07',2081,7,'2081-07-01','2081-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46679,NULL,'2081-08',2081,8,'2081-08-01','2081-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46680,NULL,'2081-09',2081,9,'2081-09-01','2081-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46681,NULL,'2081-10',2081,10,'2081-10-01','2081-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46682,NULL,'2081-11',2081,11,'2081-11-01','2081-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46683,NULL,'2081-12',2081,12,'2081-12-01','2081-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46687,NULL,'2082-01',2082,1,'2082-01-01','2082-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46688,NULL,'2082-02',2082,2,'2082-02-01','2082-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46689,NULL,'2082-03',2082,3,'2082-03-01','2082-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46690,NULL,'2082-04',2082,4,'2082-04-01','2082-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46691,NULL,'2082-05',2082,5,'2082-05-01','2082-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46692,NULL,'2082-06',2082,6,'2082-06-01','2082-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46693,NULL,'2082-07',2082,7,'2082-07-01','2082-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46694,NULL,'2082-08',2082,8,'2082-08-01','2082-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46695,NULL,'2082-09',2082,9,'2082-09-01','2082-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46696,NULL,'2082-10',2082,10,'2082-10-01','2082-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46697,NULL,'2082-11',2082,11,'2082-11-01','2082-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46698,NULL,'2082-12',2082,12,'2082-12-01','2082-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46702,NULL,'2083-01',2083,1,'2083-01-01','2083-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46703,NULL,'2083-02',2083,2,'2083-02-01','2083-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46704,NULL,'2083-03',2083,3,'2083-03-01','2083-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46705,NULL,'2083-04',2083,4,'2083-04-01','2083-04-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46706,NULL,'2083-05',2083,5,'2083-05-01','2083-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46707,NULL,'2083-06',2083,6,'2083-06-01','2083-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46708,NULL,'2083-07',2083,7,'2083-07-01','2083-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46709,NULL,'2083-08',2083,8,'2083-08-01','2083-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46710,NULL,'2083-09',2083,9,'2083-09-01','2083-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46711,NULL,'2083-10',2083,10,'2083-10-01','2083-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46712,NULL,'2083-11',2083,11,'2083-11-01','2083-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46713,NULL,'2083-12',2083,12,'2083-12-01','2083-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46717,NULL,'2084-01',2084,1,'2084-01-01','2084-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46718,NULL,'2084-02',2084,2,'2084-02-01','2084-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46719,NULL,'2084-03',2084,3,'2084-03-01','2084-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46720,NULL,'2084-04',2084,4,'2084-04-01','2084-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46721,NULL,'2084-05',2084,5,'2084-05-01','2084-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46722,NULL,'2084-06',2084,6,'2084-06-01','2084-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46723,NULL,'2084-07',2084,7,'2084-07-01','2084-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46724,NULL,'2084-08',2084,8,'2084-08-01','2084-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46725,NULL,'2084-09',2084,9,'2084-09-01','2084-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46726,NULL,'2084-10',2084,10,'2084-10-01','2084-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46727,NULL,'2084-11',2084,11,'2084-11-01','2084-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46728,NULL,'2084-12',2084,12,'2084-12-01','2084-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46732,NULL,'2085-01',2085,1,'2085-01-01','2085-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46733,NULL,'2085-02',2085,2,'2085-02-01','2085-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46734,NULL,'2085-03',2085,3,'2085-03-01','2085-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46735,NULL,'2085-04',2085,4,'2085-04-01','2085-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46736,NULL,'2085-05',2085,5,'2085-05-01','2085-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46737,NULL,'2085-06',2085,6,'2085-06-01','2085-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46738,NULL,'2085-07',2085,7,'2085-07-01','2085-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46739,NULL,'2085-08',2085,8,'2085-08-01','2085-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46740,NULL,'2085-09',2085,9,'2085-09-01','2085-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46741,NULL,'2085-10',2085,10,'2085-10-01','2085-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46742,NULL,'2085-11',2085,11,'2085-11-01','2085-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46743,NULL,'2085-12',2085,12,'2085-12-01','2085-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46747,NULL,'2086-01',2086,1,'2086-01-01','2086-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46748,NULL,'2086-02',2086,2,'2086-02-01','2086-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46749,NULL,'2086-03',2086,3,'2086-03-01','2086-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46750,NULL,'2086-04',2086,4,'2086-04-01','2086-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46751,NULL,'2086-05',2086,5,'2086-05-01','2086-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46752,NULL,'2086-06',2086,6,'2086-06-01','2086-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46753,NULL,'2086-07',2086,7,'2086-07-01','2086-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46754,NULL,'2086-08',2086,8,'2086-08-01','2086-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46755,NULL,'2086-09',2086,9,'2086-09-01','2086-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46756,NULL,'2086-10',2086,10,'2086-10-01','2086-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46757,NULL,'2086-11',2086,11,'2086-11-01','2086-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46758,NULL,'2086-12',2086,12,'2086-12-01','2086-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46762,NULL,'2087-01',2087,1,'2087-01-01','2087-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46763,NULL,'2087-02',2087,2,'2087-02-01','2087-02-28',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46764,NULL,'2087-03',2087,3,'2087-03-01','2087-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46765,NULL,'2087-04',2087,4,'2087-04-01','2087-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46766,NULL,'2087-05',2087,5,'2087-05-01','2087-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46767,NULL,'2087-06',2087,6,'2087-06-01','2087-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46768,NULL,'2087-07',2087,7,'2087-07-01','2087-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46769,NULL,'2087-08',2087,8,'2087-08-01','2087-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46770,NULL,'2087-09',2087,9,'2087-09-01','2087-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46771,NULL,'2087-10',2087,10,'2087-10-01','2087-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46772,NULL,'2087-11',2087,11,'2087-11-01','2087-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46773,NULL,'2087-12',2087,12,'2087-12-01','2087-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46777,NULL,'2088-01',2088,1,'2088-01-01','2088-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46778,NULL,'2088-02',2088,2,'2088-02-01','2088-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46779,NULL,'2088-03',2088,3,'2088-03-01','2088-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46780,NULL,'2088-04',2088,4,'2088-04-01','2088-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46781,NULL,'2088-05',2088,5,'2088-05-01','2088-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46782,NULL,'2088-06',2088,6,'2088-06-01','2088-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46783,NULL,'2088-07',2088,7,'2088-07-01','2088-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46784,NULL,'2088-08',2088,8,'2088-08-01','2088-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46785,NULL,'2088-09',2088,9,'2088-09-01','2088-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46786,NULL,'2088-10',2088,10,'2088-10-01','2088-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46787,NULL,'2088-11',2088,11,'2088-11-01','2088-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46788,NULL,'2088-12',2088,12,'2088-12-01','2088-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46792,NULL,'2089-01',2089,1,'2089-01-01','2089-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46793,NULL,'2089-02',2089,2,'2089-02-01','2089-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46794,NULL,'2089-03',2089,3,'2089-03-01','2089-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46795,NULL,'2089-04',2089,4,'2089-04-01','2089-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46796,NULL,'2089-05',2089,5,'2089-05-01','2089-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46797,NULL,'2089-06',2089,6,'2089-06-01','2089-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46798,NULL,'2089-07',2089,7,'2089-07-01','2089-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46799,NULL,'2089-08',2089,8,'2089-08-01','2089-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46800,NULL,'2089-09',2089,9,'2089-09-01','2089-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46801,NULL,'2089-10',2089,10,'2089-10-01','2089-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46802,NULL,'2089-11',2089,11,'2089-11-01','2089-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46803,NULL,'2089-12',2089,12,'2089-12-01','2089-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46807,NULL,'2090-01',2090,1,'2090-01-01','2090-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46808,NULL,'2090-02',2090,2,'2090-02-01','2090-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46809,NULL,'2090-03',2090,3,'2090-03-01','2090-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46810,NULL,'2090-04',2090,4,'2090-04-01','2090-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46811,NULL,'2090-05',2090,5,'2090-05-01','2090-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46812,NULL,'2090-06',2090,6,'2090-06-01','2090-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46813,NULL,'2090-07',2090,7,'2090-07-01','2090-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46814,NULL,'2090-08',2090,8,'2090-08-01','2090-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46815,NULL,'2090-09',2090,9,'2090-09-01','2090-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46816,NULL,'2090-10',2090,10,'2090-10-01','2090-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46817,NULL,'2090-11',2090,11,'2090-11-01','2090-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46818,NULL,'2090-12',2090,12,'2090-12-01','2090-12-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46822,NULL,'2091-01',2091,1,'2091-01-01','2091-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46823,NULL,'2091-02',2091,2,'2091-02-01','2091-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46824,NULL,'2091-03',2091,3,'2091-03-01','2091-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46825,NULL,'2091-04',2091,4,'2091-04-01','2091-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46826,NULL,'2091-05',2091,5,'2091-05-01','2091-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46827,NULL,'2091-06',2091,6,'2091-06-01','2091-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46828,NULL,'2091-07',2091,7,'2091-07-01','2091-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46829,NULL,'2091-08',2091,8,'2091-08-01','2091-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46830,NULL,'2091-09',2091,9,'2091-09-01','2091-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46831,NULL,'2091-10',2091,10,'2091-10-01','2091-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46832,NULL,'2091-11',2091,11,'2091-11-01','2091-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46833,NULL,'2091-12',2091,12,'2091-12-01','2091-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46837,NULL,'2092-01',2092,1,'2092-01-01','2092-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46838,NULL,'2092-02',2092,2,'2092-02-01','2092-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46839,NULL,'2092-03',2092,3,'2092-03-01','2092-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46840,NULL,'2092-04',2092,4,'2092-04-01','2092-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46841,NULL,'2092-05',2092,5,'2092-05-01','2092-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46842,NULL,'2092-06',2092,6,'2092-06-01','2092-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46843,NULL,'2092-07',2092,7,'2092-07-01','2092-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46844,NULL,'2092-08',2092,8,'2092-08-01','2092-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46845,NULL,'2092-09',2092,9,'2092-09-01','2092-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46846,NULL,'2092-10',2092,10,'2092-10-01','2092-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46847,NULL,'2092-11',2092,11,'2092-11-01','2092-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46848,NULL,'2092-12',2092,12,'2092-12-01','2092-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46852,NULL,'2093-01',2093,1,'2093-01-01','2093-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46853,NULL,'2093-02',2093,2,'2093-02-01','2093-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46854,NULL,'2093-03',2093,3,'2093-03-01','2093-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46855,NULL,'2093-04',2093,4,'2093-04-01','2093-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46856,NULL,'2093-05',2093,5,'2093-05-01','2093-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46857,NULL,'2093-06',2093,6,'2093-06-01','2093-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46858,NULL,'2093-07',2093,7,'2093-07-01','2093-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46859,NULL,'2093-08',2093,8,'2093-08-01','2093-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46860,NULL,'2093-09',2093,9,'2093-09-01','2093-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46861,NULL,'2093-10',2093,10,'2093-10-01','2093-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46862,NULL,'2093-11',2093,11,'2093-11-01','2093-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46863,NULL,'2093-12',2093,12,'2093-12-01','2093-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46867,NULL,'2094-01',2094,1,'2094-01-01','2094-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46868,NULL,'2094-02',2094,2,'2094-02-01','2094-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46869,NULL,'2094-03',2094,3,'2094-03-01','2094-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46870,NULL,'2094-04',2094,4,'2094-04-01','2094-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46871,NULL,'2094-05',2094,5,'2094-05-01','2094-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46872,NULL,'2094-06',2094,6,'2094-06-01','2094-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46873,NULL,'2094-07',2094,7,'2094-07-01','2094-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46874,NULL,'2094-08',2094,8,'2094-08-01','2094-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46875,NULL,'2094-09',2094,9,'2094-09-01','2094-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46876,NULL,'2094-10',2094,10,'2094-10-01','2094-10-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46877,NULL,'2094-11',2094,11,'2094-11-01','2094-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46878,NULL,'2094-12',2094,12,'2094-12-01','2094-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46882,NULL,'2095-01',2095,1,'2095-01-01','2095-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46883,NULL,'2095-02',2095,2,'2095-02-01','2095-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46884,NULL,'2095-03',2095,3,'2095-03-01','2095-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46885,NULL,'2095-04',2095,4,'2095-04-01','2095-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46886,NULL,'2095-05',2095,5,'2095-05-01','2095-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46887,NULL,'2095-06',2095,6,'2095-06-01','2095-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46888,NULL,'2095-07',2095,7,'2095-07-01','2095-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46889,NULL,'2095-08',2095,8,'2095-08-01','2095-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46890,NULL,'2095-09',2095,9,'2095-09-01','2095-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46891,NULL,'2095-10',2095,10,'2095-10-01','2095-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46892,NULL,'2095-11',2095,11,'2095-11-01','2095-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46893,NULL,'2095-12',2095,12,'2095-12-01','2095-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46897,NULL,'2096-01',2096,1,'2096-01-01','2096-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46898,NULL,'2096-02',2096,2,'2096-02-01','2096-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46899,NULL,'2096-03',2096,3,'2096-03-01','2096-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46900,NULL,'2096-04',2096,4,'2096-04-01','2096-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46901,NULL,'2096-05',2096,5,'2096-05-01','2096-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46902,NULL,'2096-06',2096,6,'2096-06-01','2096-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46903,NULL,'2096-07',2096,7,'2096-07-01','2096-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46904,NULL,'2096-08',2096,8,'2096-08-01','2096-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46905,NULL,'2096-09',2096,9,'2096-09-01','2096-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46906,NULL,'2096-10',2096,10,'2096-10-01','2096-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46907,NULL,'2096-11',2096,11,'2096-11-01','2096-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46908,NULL,'2096-12',2096,12,'2096-12-01','2096-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46912,NULL,'2097-01',2097,1,'2097-01-01','2097-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46913,NULL,'2097-02',2097,2,'2097-02-01','2097-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46914,NULL,'2097-03',2097,3,'2097-03-01','2097-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46915,NULL,'2097-04',2097,4,'2097-04-01','2097-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46916,NULL,'2097-05',2097,5,'2097-05-01','2097-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46917,NULL,'2097-06',2097,6,'2097-06-01','2097-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46918,NULL,'2097-07',2097,7,'2097-07-01','2097-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46919,NULL,'2097-08',2097,8,'2097-08-01','2097-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46920,NULL,'2097-09',2097,9,'2097-09-01','2097-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46921,NULL,'2097-10',2097,10,'2097-10-01','2097-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46922,NULL,'2097-11',2097,11,'2097-11-01','2097-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46923,NULL,'2097-12',2097,12,'2097-12-01','2097-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46927,NULL,'2098-01',2098,1,'2098-01-01','2098-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46928,NULL,'2098-02',2098,2,'2098-02-01','2098-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46929,NULL,'2098-03',2098,3,'2098-03-01','2098-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46930,NULL,'2098-04',2098,4,'2098-04-01','2098-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46931,NULL,'2098-05',2098,5,'2098-05-01','2098-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46932,NULL,'2098-06',2098,6,'2098-06-01','2098-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46933,NULL,'2098-07',2098,7,'2098-07-01','2098-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46934,NULL,'2098-08',2098,8,'2098-08-01','2098-08-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46935,NULL,'2098-09',2098,9,'2098-09-01','2098-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46936,NULL,'2098-10',2098,10,'2098-10-01','2098-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46937,NULL,'2098-11',2098,11,'2098-11-01','2098-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46938,NULL,'2098-12',2098,12,'2098-12-01','2098-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46942,NULL,'2099-01',2099,1,'2099-01-01','2099-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46943,NULL,'2099-02',2099,2,'2099-02-01','2099-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46944,NULL,'2099-03',2099,3,'2099-03-01','2099-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46945,NULL,'2099-04',2099,4,'2099-04-01','2099-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46946,NULL,'2099-05',2099,5,'2099-05-01','2099-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46947,NULL,'2099-06',2099,6,'2099-06-01','2099-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46948,NULL,'2099-07',2099,7,'2099-07-01','2099-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46949,NULL,'2099-08',2099,8,'2099-08-01','2099-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46950,NULL,'2099-09',2099,9,'2099-09-01','2099-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46951,NULL,'2099-10',2099,10,'2099-10-01','2099-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46952,NULL,'2099-11',2099,11,'2099-11-01','2099-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46953,NULL,'2099-12',2099,12,'2099-12-01','2099-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46957,NULL,'2100-01',2100,1,'2100-01-01','2100-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46958,NULL,'2100-02',2100,2,'2100-02-01','2100-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46959,NULL,'2100-03',2100,3,'2100-03-01','2100-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46960,NULL,'2100-04',2100,4,'2100-04-01','2100-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46961,NULL,'2100-05',2100,5,'2100-05-01','2100-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46962,NULL,'2100-06',2100,6,'2100-06-01','2100-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46963,NULL,'2100-07',2100,7,'2100-07-01','2100-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46964,NULL,'2100-08',2100,8,'2100-08-01','2100-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46965,NULL,'2100-09',2100,9,'2100-09-01','2100-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46966,NULL,'2100-10',2100,10,'2100-10-01','2100-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46967,NULL,'2100-11',2100,11,'2100-11-01','2100-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46968,NULL,'2100-12',2100,12,'2100-12-01','2100-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46972,NULL,'2101-01',2101,1,'2101-01-01','2101-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46973,NULL,'2101-02',2101,2,'2101-02-01','2101-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46974,NULL,'2101-03',2101,3,'2101-03-01','2101-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46975,NULL,'2101-04',2101,4,'2101-04-01','2101-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46976,NULL,'2101-05',2101,5,'2101-05-01','2101-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46977,NULL,'2101-06',2101,6,'2101-06-01','2101-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46978,NULL,'2101-07',2101,7,'2101-07-01','2101-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46979,NULL,'2101-08',2101,8,'2101-08-01','2101-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46980,NULL,'2101-09',2101,9,'2101-09-01','2101-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46981,NULL,'2101-10',2101,10,'2101-10-01','2101-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46982,NULL,'2101-11',2101,11,'2101-11-01','2101-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46983,NULL,'2101-12',2101,12,'2101-12-01','2101-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46987,NULL,'2102-01',2102,1,'2102-01-01','2102-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46988,NULL,'2102-02',2102,2,'2102-02-01','2102-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(46989,NULL,'2102-03',2102,3,'2102-03-01','2102-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46990,NULL,'2102-04',2102,4,'2102-04-01','2102-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46991,NULL,'2102-05',2102,5,'2102-05-01','2102-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46992,NULL,'2102-06',2102,6,'2102-06-01','2102-06-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (46993,NULL,'2102-07',2102,7,'2102-07-01','2102-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46994,NULL,'2102-08',2102,8,'2102-08-01','2102-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46995,NULL,'2102-09',2102,9,'2102-09-01','2102-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46996,NULL,'2102-10',2102,10,'2102-10-01','2102-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(46997,NULL,'2102-11',2102,11,'2102-11-01','2102-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(46998,NULL,'2102-12',2102,12,'2102-12-01','2102-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47002,NULL,'2103-01',2103,1,'2103-01-01','2103-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47003,NULL,'2103-02',2103,2,'2103-02-01','2103-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47004,NULL,'2103-03',2103,3,'2103-03-01','2103-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47005,NULL,'2103-04',2103,4,'2103-04-01','2103-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47006,NULL,'2103-05',2103,5,'2103-05-01','2103-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47007,NULL,'2103-06',2103,6,'2103-06-01','2103-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47008,NULL,'2103-07',2103,7,'2103-07-01','2103-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47009,NULL,'2103-08',2103,8,'2103-08-01','2103-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47010,NULL,'2103-09',2103,9,'2103-09-01','2103-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47011,NULL,'2103-10',2103,10,'2103-10-01','2103-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47012,NULL,'2103-11',2103,11,'2103-11-01','2103-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47013,NULL,'2103-12',2103,12,'2103-12-01','2103-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47017,NULL,'2104-01',2104,1,'2104-01-01','2104-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47018,NULL,'2104-02',2104,2,'2104-02-01','2104-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47019,NULL,'2104-03',2104,3,'2104-03-01','2104-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47020,NULL,'2104-04',2104,4,'2104-04-01','2104-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47021,NULL,'2104-05',2104,5,'2104-05-01','2104-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47022,NULL,'2104-06',2104,6,'2104-06-01','2104-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47023,NULL,'2104-07',2104,7,'2104-07-01','2104-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47024,NULL,'2104-08',2104,8,'2104-08-01','2104-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47025,NULL,'2104-09',2104,9,'2104-09-01','2104-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47026,NULL,'2104-10',2104,10,'2104-10-01','2104-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47027,NULL,'2104-11',2104,11,'2104-11-01','2104-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47028,NULL,'2104-12',2104,12,'2104-12-01','2104-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47032,NULL,'2105-01',2105,1,'2105-01-01','2105-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47033,NULL,'2105-02',2105,2,'2105-02-01','2105-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47034,NULL,'2105-03',2105,3,'2105-03-01','2105-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47035,NULL,'2105-04',2105,4,'2105-04-01','2105-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47036,NULL,'2105-05',2105,5,'2105-05-01','2105-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47037,NULL,'2105-06',2105,6,'2105-06-01','2105-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47038,NULL,'2105-07',2105,7,'2105-07-01','2105-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47039,NULL,'2105-08',2105,8,'2105-08-01','2105-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47040,NULL,'2105-09',2105,9,'2105-09-01','2105-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47041,NULL,'2105-10',2105,10,'2105-10-01','2105-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47042,NULL,'2105-11',2105,11,'2105-11-01','2105-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47043,NULL,'2105-12',2105,12,'2105-12-01','2105-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47047,NULL,'2106-01',2106,1,'2106-01-01','2106-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47048,NULL,'2106-02',2106,2,'2106-02-01','2106-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47049,NULL,'2106-03',2106,3,'2106-03-01','2106-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47050,NULL,'2106-04',2106,4,'2106-04-01','2106-04-30',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (47051,NULL,'2106-05',2106,5,'2106-05-01','2106-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47052,NULL,'2106-06',2106,6,'2106-06-01','2106-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47053,NULL,'2106-07',2106,7,'2106-07-01','2106-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47054,NULL,'2106-08',2106,8,'2106-08-01','2106-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47055,NULL,'2106-09',2106,9,'2106-09-01','2106-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47056,NULL,'2106-10',2106,10,'2106-10-01','2106-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47057,NULL,'2106-11',2106,11,'2106-11-01','2106-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47058,NULL,'2106-12',2106,12,'2106-12-01','2106-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47062,NULL,'2107-01',2107,1,'2107-01-01','2107-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47063,NULL,'2107-02',2107,2,'2107-02-01','2107-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47064,NULL,'2107-03',2107,3,'2107-03-01','2107-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47065,NULL,'2107-04',2107,4,'2107-04-01','2107-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47066,NULL,'2107-05',2107,5,'2107-05-01','2107-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47067,NULL,'2107-06',2107,6,'2107-06-01','2107-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47068,NULL,'2107-07',2107,7,'2107-07-01','2107-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47069,NULL,'2107-08',2107,8,'2107-08-01','2107-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47070,NULL,'2107-09',2107,9,'2107-09-01','2107-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47071,NULL,'2107-10',2107,10,'2107-10-01','2107-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47072,NULL,'2107-11',2107,11,'2107-11-01','2107-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47073,NULL,'2107-12',2107,12,'2107-12-01','2107-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47077,NULL,'2108-01',2108,1,'2108-01-01','2108-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47078,NULL,'2108-02',2108,2,'2108-02-01','2108-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47079,NULL,'2108-03',2108,3,'2108-03-01','2108-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47080,NULL,'2108-04',2108,4,'2108-04-01','2108-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47081,NULL,'2108-05',2108,5,'2108-05-01','2108-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47082,NULL,'2108-06',2108,6,'2108-06-01','2108-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47083,NULL,'2108-07',2108,7,'2108-07-01','2108-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47084,NULL,'2108-08',2108,8,'2108-08-01','2108-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47085,NULL,'2108-09',2108,9,'2108-09-01','2108-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47086,NULL,'2108-10',2108,10,'2108-10-01','2108-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47087,NULL,'2108-11',2108,11,'2108-11-01','2108-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47088,NULL,'2108-12',2108,12,'2108-12-01','2108-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47092,NULL,'2109-01',2109,1,'2109-01-01','2109-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47093,NULL,'2109-02',2109,2,'2109-02-01','2109-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47094,NULL,'2109-03',2109,3,'2109-03-01','2109-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47095,NULL,'2109-04',2109,4,'2109-04-01','2109-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47096,NULL,'2109-05',2109,5,'2109-05-01','2109-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47097,NULL,'2109-06',2109,6,'2109-06-01','2109-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47098,NULL,'2109-07',2109,7,'2109-07-01','2109-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47099,NULL,'2109-08',2109,8,'2109-08-01','2109-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47100,NULL,'2109-09',2109,9,'2109-09-01','2109-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47101,NULL,'2109-10',2109,10,'2109-10-01','2109-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47102,NULL,'2109-11',2109,11,'2109-11-01','2109-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47103,NULL,'2109-12',2109,12,'2109-12-01','2109-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47107,NULL,'2110-01',2110,1,'2110-01-01','2110-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47108,NULL,'2110-02',2110,2,'2110-02-01','2110-02-28',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (47109,NULL,'2110-03',2110,3,'2110-03-01','2110-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47110,NULL,'2110-04',2110,4,'2110-04-01','2110-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47111,NULL,'2110-05',2110,5,'2110-05-01','2110-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47112,NULL,'2110-06',2110,6,'2110-06-01','2110-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47113,NULL,'2110-07',2110,7,'2110-07-01','2110-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47114,NULL,'2110-08',2110,8,'2110-08-01','2110-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47115,NULL,'2110-09',2110,9,'2110-09-01','2110-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47116,NULL,'2110-10',2110,10,'2110-10-01','2110-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47117,NULL,'2110-11',2110,11,'2110-11-01','2110-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47118,NULL,'2110-12',2110,12,'2110-12-01','2110-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47122,NULL,'2111-01',2111,1,'2111-01-01','2111-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47123,NULL,'2111-02',2111,2,'2111-02-01','2111-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47124,NULL,'2111-03',2111,3,'2111-03-01','2111-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47125,NULL,'2111-04',2111,4,'2111-04-01','2111-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47126,NULL,'2111-05',2111,5,'2111-05-01','2111-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47127,NULL,'2111-06',2111,6,'2111-06-01','2111-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47128,NULL,'2111-07',2111,7,'2111-07-01','2111-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47129,NULL,'2111-08',2111,8,'2111-08-01','2111-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47130,NULL,'2111-09',2111,9,'2111-09-01','2111-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47131,NULL,'2111-10',2111,10,'2111-10-01','2111-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47132,NULL,'2111-11',2111,11,'2111-11-01','2111-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47133,NULL,'2111-12',2111,12,'2111-12-01','2111-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47137,NULL,'2112-01',2112,1,'2112-01-01','2112-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47138,NULL,'2112-02',2112,2,'2112-02-01','2112-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47139,NULL,'2112-03',2112,3,'2112-03-01','2112-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47140,NULL,'2112-04',2112,4,'2112-04-01','2112-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47141,NULL,'2112-05',2112,5,'2112-05-01','2112-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47142,NULL,'2112-06',2112,6,'2112-06-01','2112-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47143,NULL,'2112-07',2112,7,'2112-07-01','2112-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47144,NULL,'2112-08',2112,8,'2112-08-01','2112-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47145,NULL,'2112-09',2112,9,'2112-09-01','2112-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47146,NULL,'2112-10',2112,10,'2112-10-01','2112-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47147,NULL,'2112-11',2112,11,'2112-11-01','2112-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47148,NULL,'2112-12',2112,12,'2112-12-01','2112-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47152,NULL,'2113-01',2113,1,'2113-01-01','2113-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47153,NULL,'2113-02',2113,2,'2113-02-01','2113-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47154,NULL,'2113-03',2113,3,'2113-03-01','2113-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47155,NULL,'2113-04',2113,4,'2113-04-01','2113-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47156,NULL,'2113-05',2113,5,'2113-05-01','2113-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47157,NULL,'2113-06',2113,6,'2113-06-01','2113-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47158,NULL,'2113-07',2113,7,'2113-07-01','2113-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47159,NULL,'2113-08',2113,8,'2113-08-01','2113-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47160,NULL,'2113-09',2113,9,'2113-09-01','2113-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47161,NULL,'2113-10',2113,10,'2113-10-01','2113-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47162,NULL,'2113-11',2113,11,'2113-11-01','2113-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47163,NULL,'2113-12',2113,12,'2113-12-01','2113-12-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (47167,NULL,'2114-01',2114,1,'2114-01-01','2114-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47168,NULL,'2114-02',2114,2,'2114-02-01','2114-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47169,NULL,'2114-03',2114,3,'2114-03-01','2114-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47170,NULL,'2114-04',2114,4,'2114-04-01','2114-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47171,NULL,'2114-05',2114,5,'2114-05-01','2114-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47172,NULL,'2114-06',2114,6,'2114-06-01','2114-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47173,NULL,'2114-07',2114,7,'2114-07-01','2114-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47174,NULL,'2114-08',2114,8,'2114-08-01','2114-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47175,NULL,'2114-09',2114,9,'2114-09-01','2114-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47176,NULL,'2114-10',2114,10,'2114-10-01','2114-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47177,NULL,'2114-11',2114,11,'2114-11-01','2114-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47178,NULL,'2114-12',2114,12,'2114-12-01','2114-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47182,NULL,'2115-01',2115,1,'2115-01-01','2115-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47183,NULL,'2115-02',2115,2,'2115-02-01','2115-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47184,NULL,'2115-03',2115,3,'2115-03-01','2115-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47185,NULL,'2115-04',2115,4,'2115-04-01','2115-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47186,NULL,'2115-05',2115,5,'2115-05-01','2115-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47187,NULL,'2115-06',2115,6,'2115-06-01','2115-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47188,NULL,'2115-07',2115,7,'2115-07-01','2115-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47189,NULL,'2115-08',2115,8,'2115-08-01','2115-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47190,NULL,'2115-09',2115,9,'2115-09-01','2115-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47191,NULL,'2115-10',2115,10,'2115-10-01','2115-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47192,NULL,'2115-11',2115,11,'2115-11-01','2115-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47193,NULL,'2115-12',2115,12,'2115-12-01','2115-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47197,NULL,'2116-01',2116,1,'2116-01-01','2116-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47198,NULL,'2116-02',2116,2,'2116-02-01','2116-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47199,NULL,'2116-03',2116,3,'2116-03-01','2116-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47200,NULL,'2116-04',2116,4,'2116-04-01','2116-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47201,NULL,'2116-05',2116,5,'2116-05-01','2116-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47202,NULL,'2116-06',2116,6,'2116-06-01','2116-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47203,NULL,'2116-07',2116,7,'2116-07-01','2116-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47204,NULL,'2116-08',2116,8,'2116-08-01','2116-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47205,NULL,'2116-09',2116,9,'2116-09-01','2116-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47206,NULL,'2116-10',2116,10,'2116-10-01','2116-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47207,NULL,'2116-11',2116,11,'2116-11-01','2116-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47208,NULL,'2116-12',2116,12,'2116-12-01','2116-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47212,NULL,'2117-01',2117,1,'2117-01-01','2117-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47213,NULL,'2117-02',2117,2,'2117-02-01','2117-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47214,NULL,'2117-03',2117,3,'2117-03-01','2117-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47215,NULL,'2117-04',2117,4,'2117-04-01','2117-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47216,NULL,'2117-05',2117,5,'2117-05-01','2117-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47217,NULL,'2117-06',2117,6,'2117-06-01','2117-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47218,NULL,'2117-07',2117,7,'2117-07-01','2117-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47219,NULL,'2117-08',2117,8,'2117-08-01','2117-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47220,NULL,'2117-09',2117,9,'2117-09-01','2117-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47221,NULL,'2117-10',2117,10,'2117-10-01','2117-10-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (47222,NULL,'2117-11',2117,11,'2117-11-01','2117-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47223,NULL,'2117-12',2117,12,'2117-12-01','2117-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47227,NULL,'2118-01',2118,1,'2118-01-01','2118-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47228,NULL,'2118-02',2118,2,'2118-02-01','2118-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47229,NULL,'2118-03',2118,3,'2118-03-01','2118-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47230,NULL,'2118-04',2118,4,'2118-04-01','2118-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47231,NULL,'2118-05',2118,5,'2118-05-01','2118-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47232,NULL,'2118-06',2118,6,'2118-06-01','2118-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47233,NULL,'2118-07',2118,7,'2118-07-01','2118-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47234,NULL,'2118-08',2118,8,'2118-08-01','2118-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47235,NULL,'2118-09',2118,9,'2118-09-01','2118-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47236,NULL,'2118-10',2118,10,'2118-10-01','2118-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47237,NULL,'2118-11',2118,11,'2118-11-01','2118-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47238,NULL,'2118-12',2118,12,'2118-12-01','2118-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47242,NULL,'2119-01',2119,1,'2119-01-01','2119-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47243,NULL,'2119-02',2119,2,'2119-02-01','2119-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47244,NULL,'2119-03',2119,3,'2119-03-01','2119-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47245,NULL,'2119-04',2119,4,'2119-04-01','2119-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47246,NULL,'2119-05',2119,5,'2119-05-01','2119-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47247,NULL,'2119-06',2119,6,'2119-06-01','2119-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47248,NULL,'2119-07',2119,7,'2119-07-01','2119-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47249,NULL,'2119-08',2119,8,'2119-08-01','2119-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47250,NULL,'2119-09',2119,9,'2119-09-01','2119-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47251,NULL,'2119-10',2119,10,'2119-10-01','2119-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47252,NULL,'2119-11',2119,11,'2119-11-01','2119-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47253,NULL,'2119-12',2119,12,'2119-12-01','2119-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47257,NULL,'2120-01',2120,1,'2120-01-01','2120-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47258,NULL,'2120-02',2120,2,'2120-02-01','2120-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47259,NULL,'2120-03',2120,3,'2120-03-01','2120-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47260,NULL,'2120-04',2120,4,'2120-04-01','2120-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47261,NULL,'2120-05',2120,5,'2120-05-01','2120-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47262,NULL,'2120-06',2120,6,'2120-06-01','2120-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47263,NULL,'2120-07',2120,7,'2120-07-01','2120-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47264,NULL,'2120-08',2120,8,'2120-08-01','2120-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47265,NULL,'2120-09',2120,9,'2120-09-01','2120-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47266,NULL,'2120-10',2120,10,'2120-10-01','2120-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47267,NULL,'2120-11',2120,11,'2120-11-01','2120-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47268,NULL,'2120-12',2120,12,'2120-12-01','2120-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47272,NULL,'2121-01',2121,1,'2121-01-01','2121-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47273,NULL,'2121-02',2121,2,'2121-02-01','2121-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47274,NULL,'2121-03',2121,3,'2121-03-01','2121-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47275,NULL,'2121-04',2121,4,'2121-04-01','2121-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47276,NULL,'2121-05',2121,5,'2121-05-01','2121-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47277,NULL,'2121-06',2121,6,'2121-06-01','2121-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47278,NULL,'2121-07',2121,7,'2121-07-01','2121-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47279,NULL,'2121-08',2121,8,'2121-08-01','2121-08-31',NULL,NULL,40727,0,NULL,1,0,0,1);
INSERT INTO `periods` VALUES (47280,NULL,'2121-09',2121,9,'2121-09-01','2121-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47281,NULL,'2121-10',2121,10,'2121-10-01','2121-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47282,NULL,'2121-11',2121,11,'2121-11-01','2121-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47283,NULL,'2121-12',2121,12,'2121-12-01','2121-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47287,NULL,'2122-01',2122,1,'2122-01-01','2122-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47288,NULL,'2122-02',2122,2,'2122-02-01','2122-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47289,NULL,'2122-03',2122,3,'2122-03-01','2122-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47290,NULL,'2122-04',2122,4,'2122-04-01','2122-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47291,NULL,'2122-05',2122,5,'2122-05-01','2122-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47292,NULL,'2122-06',2122,6,'2122-06-01','2122-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47293,NULL,'2122-07',2122,7,'2122-07-01','2122-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47294,NULL,'2122-08',2122,8,'2122-08-01','2122-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47295,NULL,'2122-09',2122,9,'2122-09-01','2122-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47296,NULL,'2122-10',2122,10,'2122-10-01','2122-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47297,NULL,'2122-11',2122,11,'2122-11-01','2122-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47298,NULL,'2122-12',2122,12,'2122-12-01','2122-12-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47302,NULL,'2123-01',2123,1,'2123-01-01','2123-01-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47303,NULL,'2123-02',2123,2,'2123-02-01','2123-02-28',NULL,NULL,40727,0,NULL,1,0,0,1),(47304,NULL,'2123-03',2123,3,'2123-03-01','2123-03-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47305,NULL,'2123-04',2123,4,'2123-04-01','2123-04-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47306,NULL,'2123-05',2123,5,'2123-05-01','2123-05-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47307,NULL,'2123-06',2123,6,'2123-06-01','2123-06-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47308,NULL,'2123-07',2123,7,'2123-07-01','2123-07-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47309,NULL,'2123-08',2123,8,'2123-08-01','2123-08-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47310,NULL,'2123-09',2123,9,'2123-09-01','2123-09-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47311,NULL,'2123-10',2123,10,'2123-10-01','2123-10-31',NULL,NULL,40727,0,NULL,1,0,0,1),(47312,NULL,'2123-11',2123,11,'2123-11-01','2123-11-30',NULL,NULL,40727,0,NULL,1,0,0,1),(47313,NULL,'2123-12',2123,12,'2123-12-01','2123-12-31',NULL,NULL,40727,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=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_activities` VALUES (2,8031,40719,1,0,'2023-01-10 16:42:49','2023-01-10 16:42:49',NULL),(61,8312,40720,638,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(62,8312,40720,716,0,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(144,8312,40727,870,1,'2023-09-07 13:57:06','2023-09-07 13:57:06',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=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_configurations` VALUES (2,8031,40719,NULL,NULL,0,'2023-01-10 16:42:49','2023-01-10 16:42:49',2,1,0.00,NULL,12,1,NULL,NULL,NULL,NULL,1,NULL,'2023-1',NULL,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(31,8312,40720,NULL,NULL,0,'2023-01-24 15:23:01','2023-02-02 13:12:40',2,1,0.00,NULL,12,1,0,0,0,0,4,NULL,'2023-01',0,0,0,0,NULL,40720,40720,NULL,NULL,NULL,0,NULL,'2017-11-02',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(32,8312,40727,NULL,NULL,0,'2023-09-07 13:28:03','2023-09-07 13:57:06',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2023-07',0,0,0,0,NULL,40727,40727,NULL,NULL,NULL,0,NULL,'2023-07-31','0000-00-00',NULL,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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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=775 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_zone_actividad` VALUES (683,8312,40720,23,638,1,0.06920,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(684,8312,40720,23,716,1,0.06920,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(685,8312,40720,22,638,1,0.08438,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(686,8312,40720,22,716,1,0.08438,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(687,8312,40720,24,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(688,8312,40720,24,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(689,8312,40720,3,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(690,8312,40720,3,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(691,8312,40720,4,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(692,8312,40720,4,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(693,8312,40720,1,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(694,8312,40720,1,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(695,8312,40720,2,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(696,8312,40720,2,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(697,8312,40720,5,638,1,0.00610,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(698,8312,40720,5,716,1,0.00610,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(699,8312,40720,6,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(700,8312,40720,6,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(701,8312,40720,7,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(702,8312,40720,7,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(703,8312,40720,8,638,1,0.00090,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(704,8312,40720,8,716,1,0.00090,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(705,8312,40720,9,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(706,8312,40720,9,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(707,8312,40720,10,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(708,8312,40720,10,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(709,8312,40720,11,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(710,8312,40720,11,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(711,8312,40720,12,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(712,8312,40720,12,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(713,8312,40720,13,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(714,8312,40720,13,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(715,8312,40720,14,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(716,8312,40720,14,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(717,8312,40720,15,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(718,8312,40720,15,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(719,8312,40720,16,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(720,8312,40720,16,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(721,8312,40720,17,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(722,8312,40720,17,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(723,8312,40720,18,638,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(724,8312,40720,18,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL);
INSERT INTO `person_zone_actividad` VALUES (725,8312,40720,19,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(726,8312,40720,19,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(727,8312,40720,20,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(728,8312,40720,20,716,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(729,8312,40720,21,638,1,0.00000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(730,8312,40720,21,716,1,0.01000,0.00000,1,1,'2023-02-02 13:12:40','2023-02-02 13:12:40',NULL),(774,8312,40727,22,870,1,0.00000,0.00000,1,1,'2023-09-07 13:57:06','2023-09-07 13:57:06',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=750 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `person_zones` VALUES (1,8031,0.0000,0.0000,22,0,NULL,NULL,NULL,'2023-01-10 16:42:49','2023-01-10 16:42:49',40719,NULL),(682,8312,0.0000,0.0000,23,1,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(683,8312,0.0000,0.0000,22,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(684,8312,0.0000,0.0000,24,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(685,8312,0.0000,0.0000,3,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(686,8312,0.0000,0.0000,4,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(687,8312,0.0000,0.0000,1,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(688,8312,0.0000,0.0000,2,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(689,8312,0.0000,0.0000,5,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(690,8312,0.0000,0.0000,6,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(691,8312,0.0000,0.0000,7,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(692,8312,0.0000,0.0000,8,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(693,8312,0.0000,0.0000,9,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(694,8312,0.0000,0.0000,10,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(695,8312,0.0000,0.0000,11,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(696,8312,0.0000,0.0000,12,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(697,8312,0.0000,0.0000,13,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(698,8312,0.0000,0.0000,14,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(699,8312,0.0000,0.0000,15,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(700,8312,0.0000,0.0000,16,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(701,8312,0.0000,0.0000,17,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(702,8312,0.0000,0.0000,18,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(703,8312,0.0000,0.0000,19,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(704,8312,0.0000,0.0000,20,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(705,8312,0.0000,0.0000,21,0,NULL,NULL,NULL,'2023-02-02 13:12:40','2023-02-02 13:12:40',40720,NULL),(749,8312,0.0000,0.0000,22,1,NULL,NULL,NULL,'2023-09-07 13:57:06','2023-09-07 13:57:06',40727,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=40773 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,'MSF Contador SAS',NULL,'40719',NULL,'cuit','30-71534555-9',6,NULL,NULL,NULL,NULL,NULL,'2019-11-05 20:06:46','2025-07-04 15:07:56',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40720,NULL,'DE MARI ALBERTO',NULL,'40720',NULL,'cuit','20-33746868-4',6,NULL,23,23,NULL,NULL,'2023-01-19 12:05:51','2025-07-04 15:07:56',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40721,8312,'LUQUE IAN',NULL,'40721',NULL,'cuit','20-56998570-7',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40722,8312,'ORENSTEIN OSCAR EDUARDO',NULL,'40722',NULL,'cuit','20-92119366-2',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40723,8312,'99-99999999-9',NULL,'40723',NULL,'cuit','99-99999999-9',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40726,8312,'BANCO BBVA ARGENTINA S.A.',NULL,'40726',NULL,'cuit','30-50000319-3',NULL,NULL,NULL,NULL,NULL,NULL,'2023-02-03 13:30:14','2023-02-03 13:30:14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40727,NULL,'GARBARINO JORGE',NULL,'40727',NULL,'cuit','20-16246251-3',1,NULL,NULL,NULL,NULL,NULL,'2023-09-07 13:28:02','2025-07-04 15:07:56',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40770,NULL,'SERVENTE Y CIA SA SOCIEDAD DE',NULL,'40770',NULL,'cuit','30-70794956-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40771,NULL,'UNIVERSIDAD TECNOLOGICA NACION',NULL,'40771',NULL,'cuit','30-54667116-6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40772,NULL,'LRH PRODUCCIONES SA',NULL,'40772',NULL,'cuit','33-70897057-9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,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:50:55','2025-07-06 23:50:55',NULL),(3,NULL,'Formulario Receipts',0,'2025-07-09 15:45:32','2025-07-09 15:45:32',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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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,'2023-01-10 16:42:43','2023-01-10 16:42:43',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','2023-01-10 16:42:43','2023-01-10 16:42:43',NULL),(4,NULL,'Importar - Archivos PEM F8011','2023-01-10 16:42:47','2023-01-10 16:42:47',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 AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `receipt_taxes` VALUES (1,8312,1,7,26929.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(2,8312,2,7,51400.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(3,8312,3,7,21500.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(4,8312,4,7,21500.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(5,8312,5,7,21500.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(6,8312,6,7,21500.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(7,8312,7,7,21500.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(8,8312,8,7,21500.00,0.00,2,1,'2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(9,8312,9,7,21500.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(10,8312,10,7,29000.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(11,8312,11,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(12,8312,12,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(13,8312,13,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(14,8312,14,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(15,8312,15,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(16,8312,16,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(17,8312,17,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(18,8312,18,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(19,8312,19,7,30760.00,0.00,2,1,'2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(20,8312,20,7,30760.00,0.00,2,1,'2023-02-03 11:48:20','2023-02-03 11:48:20',NULL),(21,8312,21,7,30760.00,0.00,2,1,'2023-02-03 11:48:20','2023-02-03 11:48:20',NULL),(22,NULL,32,2,503000.00,105630.00,2,1,'2023-09-07 14:14:30',NULL,NULL),(23,NULL,33,8,1249964.55,0.00,2,1,'2023-09-07 14:14:30',NULL,NULL),(24,NULL,34,2,26000.00,5460.00,2,1,'2023-09-07 14:14:30',NULL,NULL);

--
-- 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:39:34','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2025-05-08 09:39:34','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:39:34','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:39:34','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,'2023-01-10 16:42:41','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,'2023-01-10 16:42:41','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',1,0,0,NULL),(19,NULL,NULL,'2023-01-10 16:42:41','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','2023-01-10 16:42:33','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:39:34','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:39:34','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:39:34','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','2023-01-10 16:42:34','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,'2023-01-10 16:42:31','2023-01-10 16:42:47','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,'2023-01-10 16:42:31','2025-05-08 09:39:34','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,'2023-01-10 16:42:31','2023-01-10 16:42:34','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2023-01-10 16:42:31','2025-05-08 09:39:34','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2023-01-10 16:42:33','2023-01-10 16:42:36','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2023-01-10 16:42:33','2025-05-08 09:39:34','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2023-01-10 16:42:33','2023-01-10 16:42:38','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,'2023-01-10 16:42:34','2023-01-10 16:42:34','Liquidacion de Compra A - Sector Pecuario','183',0,1,0,0,2,0,183,'Liquidacion de Compra','A',0,0,0,NULL),(42,NULL,'2023-01-10 16:42:34','2025-05-08 09:39:34','Liquidacion de Compra B - Sector Pecuario','185',0,2,0,1,2,0,185,'Liquidacion de Compra','B',0,0,1,NULL),(43,NULL,'2023-01-10 16:42:35','2023-01-10 16:42:36','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,'2023-01-10 16:42:35','2025-05-08 09:39:34','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,'2023-01-10 16:42:36','2023-01-10 16:42:36','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2023-01-10 16:42:36','2023-01-10 16:42:36','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2023-01-10 16:42:36','2023-01-10 16:42:36','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,'2023-01-10 16:42:38','2023-01-10 16:42:38','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,'2023-01-10 16:42:47','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:39:34','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:39:34','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:39:34','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:39:34','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:39:34','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:39:34','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=35 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `receipts` VALUES (1,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40721,00002844,NULL,NULL,'2023-01-04','2023-01-04',0001,1,NULL,26929.00,26929.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(2,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40722,00002845,NULL,NULL,'2023-01-30','2023-01-30',0001,1,NULL,51400.00,51400.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(3,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002846,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(4,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002847,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(5,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002848,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(6,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002849,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(7,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002850,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(8,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002851,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:18','2023-02-03 11:48:18',NULL),(9,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002852,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,21500.00,21500.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(10,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002853,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,29000.00,29000.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(11,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002854,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(12,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002855,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(13,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002856,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(14,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002857,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(15,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002858,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(16,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002859,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(17,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002860,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL);
INSERT INTO `receipts` VALUES (18,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002861,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(19,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002862,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:19','2023-02-03 11:48:19',NULL),(20,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002863,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:20','2023-02-03 11:48:20',NULL),(21,8312,0,1,7,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40723,00002864,NULL,NULL,'2023-01-31','2023-01-31',0001,1,NULL,30760.00,30760.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 11:48:20','2023-02-03 11:48:20',NULL),(22,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40726,00000001,00000001,NULL,'2023-01-01',NULL,0001,1,NULL,5.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:30:14','2023-02-03 13:54:29','2023-02-03 13:54:29'),(23,8312,0,3,4,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,4,40720,40726,00000001,00000001,0,'2023-01-01',NULL,0001,1,NULL,10.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:30:14','2023-02-03 13:30:14',NULL),(24,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,NULL,40720,40726,NULL,NULL,NULL,'2023-01-05',NULL,NULL,1,NULL,100.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:42:24','2023-02-03 13:54:18','2023-02-03 13:54:18'),(25,8312,0,3,4,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,638,1,4,40720,40726,NULL,NULL,0,'2023-01-05',NULL,NULL,1,NULL,100.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:42:24','2023-02-03 13:42:24',NULL),(27,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,22,NULL,NULL,NULL,1,NULL,40720,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,39.46,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:55:32','2023-02-03 13:55:32',NULL),(28,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,23,NULL,NULL,NULL,1,NULL,40720,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,1.61,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:55:32','2023-02-03 13:55:32',NULL),(29,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,1,NULL,NULL,NULL,1,NULL,40720,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0.23,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:55:32','2023-02-03 13:55:32',NULL),(30,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,5,NULL,NULL,NULL,1,NULL,40720,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,0.27,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:55:32','2023-02-03 13:55:32',NULL),(31,8312,0,4,NULL,NULL,NULL,NULL,NULL,44298,13,NULL,NULL,NULL,1,NULL,40720,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,1.43,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-02-03 13:55:32','2023-02-03 13:55:32',NULL),(32,8312,0,1,1,1,NULL,NULL,NULL,45811,22,NULL,NULL,870,1,NULL,40727,40770,00000087,NULL,NULL,'2023-08-01','2023-08-01',0002,1,NULL,608630.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-09-07 14:14:30',NULL,NULL),(33,8312,0,1,4,6,NULL,NULL,NULL,45811,22,NULL,NULL,870,1,NULL,40727,40771,00000120,NULL,NULL,'2023-08-03','2023-08-03',0002,1,NULL,1249964.55,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-09-07 14:14:30',NULL,NULL),(34,8312,0,1,1,1,NULL,NULL,NULL,45811,22,NULL,NULL,870,1,NULL,40727,40772,00000088,NULL,NULL,'2023-08-22','2023-08-22',0002,1,NULL,31460.00,0.00,1,1.00,3,NULL,NULL,0,NULL,NULL,'','2023-09-07 14:14:30',NULL,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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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,'2023-01-10 16:42:34','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2023-01-10 16:42:34','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2023-01-10 16:42:34','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2023-01-10 16:42:34','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2023-01-10 16:42:34','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2023-01-10 16:42:34','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2023-01-10 16:42:34','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2023-01-10 16:42:34','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2023-01-10 16:42:34','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2023-01-10 16:42:34','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2023-01-10 16:42:34','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2023-01-10 16:42:34','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2023-01-10 16:42:34','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2023-01-10 16:42:34','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2023-01-10 16:42:34','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2023-01-10 16:42:34','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2023-01-10 16:42:34','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2023-01-10 16:42:34','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2023-01-10 16:42:35','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2023-01-10 16:42:35','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2023-01-10 16:42:35','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2023-01-10 16:42:35','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2023-01-10 16:42:35','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2023-01-10 16:42:35','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2023-01-10 16:42:35','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;

--
