Skip to content

Instantly share code, notes, and snippets.

View tandavala's full-sized avatar
:octocat:
Fork my code is Free

Jose Tandavala tandavala

:octocat:
Fork my code is Free
View GitHub Profile
'use strict'
/** @type {import('@adonisjs/lucid/src/Schema')} */
const Schema = use('Schema')
class RecibosSchema extends Schema {
up () {
this.create('recibos', (table) => {
table.increments()
table.integer('numero').notNullable();
class ProcessarPagamento {
private bulk: number;
private empresa: number;
private totalToPay: number;
private moeda: string;
constructor(bulk: number, empresa: number, totalToPay: number, moeda: string) {
this.bulk = bulk;
this.empresa = empresa;
this.totalToPay = totalToPay;