# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.


class Accounts(models.Model):
    name = models.CharField(max_length=50)
    balance = models.DecimalField(decimal_places=2, max_digits=15)

    def __str__(self):
        return self.name + ' - ' + str(self.balance)