123456789101112131415161718192021222324 |
- <?php
-
- /**
- * Created by PhpStorm.
- * User: guanxl
- * Date: 2018/3/19
- * Time: 18:43
- */
-
- namespace App\Models;
-
- use Illuminate\Database\Eloquent\Model;
-
- class Question extends Model
- {
- protected $table = "bs_questions";
- protected $primaryKey = "question_id";
-
- protected $dateFormat = 'U';
- const CREATED_AT = "create_time";
- const UPDATED_AT = "update_time";
-
- public $fillable = ["corp_id","activity_id", "category_id","question_title", "question_options", "question_answer", "is_must_answer", "status"];
- }
|