Review.php
512 字节
<?php
namespace app\school\model\review;
use think\Model;
use traits\model\SoftDelete;
class Review extends Model
{
use SoftDelete;
// 表名
protected $name = 'review';
// 自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
protected $deleteTime = 'deletetime';
protected $error = "";
// 追加属性
protected $append = [
];
}