Meaning of Employee under the Payment of Gratuity Act
(e) "employee" means any person (other than an apprentice) employed on wages,  [***] in any establishment, factory, mine, oilfield, plantation, port, railway company or shop, to do any skilled, semi-skilled, or unskilled, manual, supervisory, technical or clerical work, whether the terms of such employment are express or implied,  [and whether or not such person is employed in a managerial or administrative capacity, but does not include any such person who holds a post under the Central Government or a State Government and is governed by any other Act or by any rules providing for payment of gratuity].
Meaning of Continuous Service
For the purposes of this Act, -
(1) an employee shall be said to be in continuous service for a period if he has, for that period, been in uninterrupted service, including service which may be interrupted on account of sickness, accident, leave, absence from duty without leave (not being absence in respect of which an order [***] treating the absence as break in service has been passed in accordance with the standing order, rules or regulations governing the employees of the establishment), lay off, strike or a lock-out or cessation of work not due to any fault of the employee, whether such uninterrupted or interrupted service was rendered before or after the commencement of this Act.
(2) where an employee (not being an employee employed in a seasonal establishment) is not in continuous service within the meaning of clause (1), for any period of one year or six months, he shall be deemed to be in continuous service under the employer -
(a) for the said period of one year, if the employee during the period of twelve calendar months preceding the date with reference to which calculation is to be made, has actually worked under the employer for not less than -
(i) one hundred and ninety days, in the case of an employee employed below the ground in a mine or in an establishment which works for less than six days in a week; and
(ii) two hundred and forty days, in any other case;
(b) for the said period of six months, if the employee during the period of six calendar months preceding the date with reference to which the calculation is to be made, has actually worked under the employer for not less than -
(i) ninety-five days, in the case of an employee employed below the ground in a mine or in an establishment which works for less than six days in a week; and
(ii) one hundred and twenty days, in any other case;
Explanation: For the purpose of clause (2), the number of days on which an employee has actually worked under an employer shall include the days on which -
(i) he has been laid-off under an agreement or as permitted by standing orders made under the Industrial Employment (Standing Orders) Act, 1946 (20 of 1946), or under the Industrial Disputes Act, 1947 (14 of 1947), or under any other law applicab1c to the establishment;
(ii) he has been on leave with full wages, earned in the previous year;
(iii) he has been absent due to temporary disablement caused by accident arising out of and in the course of his employment and
(iv) in the case of a female, she has been on maternity leave; so, however, that the total period of such maternity leave does not exceed twelve weeks.
(3) where an employee employed in a seasonal establishment, is not in continuous service within the meaning of clause (1), for any period of one year or six months, he shall be deemed to be in continuous service under the employer for such period if he has actually worked for not less than seventy-five per cent of the number of days on which the establishment was in operation during such period.
Hence you are eligible for Gratuity, i your case if thereis 5 day a week system 190 days will be counted.
As for as Apprentice ship is concerned check with Apperenticeship Act that whether you were apperentice or not within the meaning of the Act, otherwise that period will also be counted.