Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- class Detalle_Factura extends Model
- {
- protected $table="detalles_facturas";
- protected $fillable=[
- 'detalle_producto',
- 'cantidad',
- 'valor_unitario'
- ];
- public function facturas(){
- return $this->belongsTo('App\Factura');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement