Tesis 1.0.0
Loading...
Searching...
No Matches
appCART.models.DetallePedido Class Reference
Inheritance diagram for appCART.models.DetallePedido:

Classes

class  Meta

Public Member Functions

 __unicode__ (self)

Static Public Attributes

 id_detalle = models.AutoField(primary_key=True)
 id_pedido = models.ForeignKey(Pedido, models.DO_NOTHING, related_name='detalles')
 id_producto = models.ForeignKey(Producto, models.DO_NOTHING)
 cantidad_productos = models.IntegerField(null=True)
 precio_producto = models.FloatField()
 subtotal = models.FloatField(null=True)
 direccion_entrega = models.CharField(max_length=100, null=True)

Detailed Description

Definition at line 33 of file models.py.

Member Function Documentation

◆ __unicode__()

appCART.models.DetallePedido.__unicode__ ( self)

Definition at line 46 of file models.py.

Member Data Documentation

◆ cantidad_productos

appCART.models.DetallePedido.cantidad_productos = models.IntegerField(null=True)
static

Definition at line 37 of file models.py.

◆ direccion_entrega

appCART.models.DetallePedido.direccion_entrega = models.CharField(max_length=100, null=True)
static

Definition at line 40 of file models.py.

◆ id_detalle

appCART.models.DetallePedido.id_detalle = models.AutoField(primary_key=True)
static

Definition at line 34 of file models.py.

◆ id_pedido

appCART.models.DetallePedido.id_pedido = models.ForeignKey(Pedido, models.DO_NOTHING, related_name='detalles')
static

Definition at line 35 of file models.py.

◆ id_producto

appCART.models.DetallePedido.id_producto = models.ForeignKey(Producto, models.DO_NOTHING)
static

Definition at line 36 of file models.py.

◆ precio_producto

appCART.models.DetallePedido.precio_producto = models.FloatField()
static

Definition at line 38 of file models.py.

◆ subtotal

appCART.models.DetallePedido.subtotal = models.FloatField(null=True)
static

Definition at line 39 of file models.py.


The documentation for this class was generated from the following file: