OrderAddress.php 459 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. use traits\model\SoftDelete;
  5. /**
  6. * 模型
  7. */
  8. class OrderAddress extends Model
  9. {
  10. use SoftDelete;
  11. // 表名
  12. protected $name = 'shop_order_address';
  13. // 开启自动写入时间戳字段
  14. protected $autoWriteTimestamp = 'int';
  15. // 定义时间戳字段名
  16. protected $createTime = 'createtime';
  17. protected $updateTime = 'updatetime';
  18. protected $deleteTime = 'deletetime';
  19. }