ReferralDayCollect.php 486 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: lytian
  5. * Date: 2019/6/12
  6. * Time: 17:10
  7. */
  8. namespace app\common\model;
  9. use think\Model;
  10. class ReferralDayCollect extends Model
  11. {
  12. // 表名
  13. protected $table = 'referral_day_collect';
  14. // 自动写入时间戳字段
  15. protected $autoWriteTimestamp = 'int';
  16. // 定义时间戳字段名
  17. protected $createTime = 'createtime';
  18. protected $updateTime = 'updatetime';
  19. // 追加属性
  20. protected $append = [];
  21. }