When working with some project, their are special kind of model class, which deal with list or batch data content, eg:
class UserBatchOperate
{
/* Do some logic work, then use db access layer to retrieve data */
public function listUserHaveSomeBadge() {}
/* Do same operate on all user fit the condition */
public function assignBadgeToUserRegistedBefore2012() {}
}
(I think this is model logic, not job of db access layer, PDO or ORM. In other words, I use a simple db access layer to do CRUD, leave logic part in model.)
My question is, this kind of model class is more likely a function set, most of it's method havn't inner relation, is this the proper way to do this ?