1234567891011121314151617181920212223242526 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/4
- * Time: 上午9:25
- * 楼盘推广状态,status = 1 正常 = 2 未推广
- */
- namespace common\models;
- class Housepushstatus extends Common
- {
- public function rules()
- {
- return [
- ['status','in','range'=>[1,2]],
- ['hid','number'],
- ];
- }
- public function FindById($id)
- {
- return self::findOne($id);
- }
- }
|