Syncliverecord.php 390 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: yugongzi
  5. * Date: 2020.4.29
  6. */
  7. namespace common\models;
  8. use Yii;
  9. class Syncliverecord extends \yii\db\ActiveRecord
  10. {
  11. public function rules()
  12. {
  13. return [
  14. [['own_lid','state','content','name','ip','create_at'], 'required', 'message' => '不能为空'],
  15. [['edit_content','unid'],'safe']
  16. ];
  17. }
  18. }