Track.php 429 B

123456789101112131415161718192021
  1. <?php
  2. declare (strict_types = 1);
  3. namespace app\admin\model;
  4. use think\Model;use think\model\concern\SoftDelete;
  5. /**
  6. * @mixin \think\Model
  7. */
  8. class Track extends Model
  9. {
  10. use SoftDelete;
  11. protected $createTime="create_time";
  12. protected $updateTime="update_time";
  13. protected $deleteTime= "delete_time";
  14. public function fhdChild(){
  15. return $this->belongsTo(FhdChild::class,"outChildCode","outChildCode");
  16. }
  17. }