Apple has been sued by two former employees in a class-action lawsuit accusing the tech giant of not paying workers for the time spent in line during daily bag checks.

Retail store policies have become reasons for class-action lawsuits. A retail store conducts screening or bag checks every time a sales rep leaves the store premises, including for lunch breaks. But two former workers, who got paid on hourly-basis in an Apple retail store, filed a class-action lawsuit for being held up for nearly 30 minutes of their shift for a bag check. The former workers in New York and Los Angeles said that the time spent during the bag checks was considered off-the-clock, which accounted for $1,500 a year.

The suit filed in the Federal District Court in the Northern District of California, seeks compensation for unspecified amount of damages and overtime con behalf of themselves and 42,400 other workers in Apple's retail segment. GigaOm obtained a copy of the complaint, which claims the iPhone maker has violated the Fair Labor Standards Act and state laws in New York and California.

The lawsuit was filed by Amanda Frlekin, a former employee of Apple Century City store in Los Angeles, and Dean Pelle, formerly employed in New York. Both were designated as "Specialists" until this spring.

"This work, done primarily for the employer's benefit, is time which Apple hourly employees should be, but are not compensated for, both straight hours and overtime hours worked in excess of 40 hours a week," the lawsuit read.

Apple declined to comment on the issue. We don't comment on pending litigation," said Amy Bessette, an Apple spokeswoman, according to New York Times.