IntegralRecord.php 305 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. /**
  5. * Description of IntegralRecord
  6. *
  7. * @author sgq
  8. */
  9. class IntegralRecord extends Model {
  10. protected $table = "new_integral_record";
  11. public function detail() {
  12. return $this->hasMany(IntegralDetail::class, "record_id");
  13. }
  14. }