<?php

namespace TestApp\Model\Entity;

use Tools\Model\Entity\Entity;

class User extends Entity {

	public static function statuses($value = null) {
		$options = [
			static::STATUS_INACTIVE => 'Inactive',
			static::STATUS_ACTIVE => 'Active',
		];

		return parent::enum($value, $options);
	}

	const STATUS_INACTIVE = 0;

	const STATUS_ACTIVE = 1;

}
