123456789101112131415161718192021222324 |
- <?php
- namespace app\common\model;
- use think\Model;
- use traits\model\SoftDelete;
- /**
- * 模型
- */
- class OrderAddress extends Model
- {
- use SoftDelete;
- // 表名
- protected $name = 'shop_order_address';
- // 开启自动写入时间戳字段
- protected $autoWriteTimestamp = 'int';
- // 定义时间戳字段名
- protected $createTime = 'createtime';
- protected $updateTime = 'updatetime';
- protected $deleteTime = 'deletetime';
- }
|