12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/4
- * Time: 上午9:25
- */
- namespace common\models;
- class HouseCommentreadrecord extends Common
- {
- public function rules()
- {
- return [
- [['cid','uid','ip'],'required','message'=>'{attribute}不能为空'],
- ['ip','ip'],
- ];
- }
- public function attributeLabels()
- {
- return [
- 'cid'=>'点评',
- 'uid'=>'用户',
- 'ip'=>'用户IP地址',
- ];
- }
- }
|