UserCashOut.php 667 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Illuminate\Database\Eloquent\SoftDeletes;
  5. class UserCashOut extends Model
  6. {
  7. use SoftDeletes;
  8. public $table = 'user_cash_out';
  9. // protected $fillable = [
  10. // 'user_id','bank_id','status','created_at','updated_at','cash','comments'
  11. // ];
  12. protected $guarded = [];
  13. /**
  14. * 账户关联
  15. * */
  16. // public function user() {
  17. // return $this->belongsTo('App\User', 'user_id');
  18. // }
  19. //
  20. // /**
  21. // * 提现方式关联
  22. // * */
  23. // public function user_banks() {
  24. // return $this->belongsTo('App\Models\UserBanks', 'bank_id');
  25. // }
  26. }