'企业单位', 'personal' => '个人/非企业', ]; } public function getDefaultInvoiceTypeList() { return [ 'normal' => '增值税普通发票', 'special' => '增值税专用发票', ]; } public function user() { return $this->belongsTo('User', 'user_id', 'id', [], 'LEFT')->setEagerlyType(0); } public function merchant() { return $this->belongsTo('Merchant', 'merchant_id', 'id', [], 'LEFT')->setEagerlyType(0); } }