<?php namespace appadminmodelstore; use thinkModel; use traitsmodelSoftDelete; class StoreList extends Model { use SoftDelete; // 表名 protected $name = 'store_list'; // 自动写入时间戳字段 protected $autoWriteTimestamp = 'int'; // 定义时间戳字段名 protected $createTime = 'createtime'; protected $updateTime = 'updatetime'; protected $deleteTime = 'deleteTime'; // 追加属性 protected $append = [ 'type_text', 'status_text' ];