<?php
/*
 * PHP version 5
 *
 * @copyright Copyright 2010, Cake. (http://trpgtools-onweb.sourceforge.jp/)
 * @category Model
 * @package  TRPG Data Bank
 * @version  beta
 * @author   Cake <cake_67@users.sourceforge.jp>
 * @license  http://www.opensource.org/licenses/mit-license.php The MIT License
 * @link     http://trpgtools-onweb.sourceforge.jp/
 */

class RegistMail extends AppModel {

	var $name = 'RegistMail';

	var $fields = array(
		'add' => array('user_id', 'mail', 'key_code'),
		'escape' => array(
		),
	);

	var $validate = array(
		'mail' => array(
			'isPcMail' => array(
				'rule' => 'isPcMail',
			),
			'notEmpty' => array(
				'rule' => 'notEmpty',
			),
		)
	);

}
