from django.db import models

class StatoPratica(models.Model):
    id = models.AutoField(primary_key=True)
    title = models.CharField(max_length=100)
    codice = models.CharField(max_length=10, null=True, blank=True)
    color = models.CharField(max_length=10, null=True, blank=True)
    chi = models.CharField(max_length=20)
    quando = models.CharField(max_length=70)
    note = models.CharField(max_length=230, null=True, blank=True)
    lavorabile = models.CharField(max_length=20)
    
    class Meta:
        db_table = "Stato_pratica"