Modelo de productos y validaciones
- Source:
Members
(inner, constant) NOTE_MODEL :Note
- Source:
Type:
- Note
Methods
(inner) validate(note) → {boolean}
- Source:
valida si el contenido de la nota es correcto
Parameters:
Name | Type | Description |
---|---|---|
note |
Note | nota a validar |
Returns:
- Type
- boolean
Type Definitions
Note
- Source:
Properties:
Name | Type | Description |
---|---|---|
id_nota |
number | identificador de la nota |
descripcion_nota |
string | descripcion de la nota |
creacion |
string | timestamp de creacion de la nota |
fecha_entrega |
string | fecha de entrega de la nota |
id_cliente |
number | identificador del cliente de la nota |
userid |
number | identificador del usuario que crea la nota |
status |
'EN_PROCESO' | 'ENTREGADA' | 'ACEPTADO' | 'CANCELADA' | 'POSPUESTO' | estado de entrega |
Note
Type:
- Object