GoodStock.php 250 B

12345678910111213141516
  1. <?php
  2. declare (strict_types = 1);
  3. namespace app\report\model;
  4. use think\Model;
  5. /**
  6. * @mixin \think\Model
  7. */
  8. class GoodStock extends Model
  9. {
  10. public function WareInfo(){
  11. return $this->belongsTo(Ware::class,"wsm_code","wsm_code");
  12. }
  13. }