mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
first commit
This commit is contained in:
10
gestaoRaul/categories/models.py
Normal file
10
gestaoRaul/categories/models.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
class Categories(models.Model):
|
||||
id = models.AutoField(primary_key=True)
|
||||
name = models.CharField(max_length=255)
|
||||
|
||||
|
||||
def __str__(self) -> str:
|
||||
return self.name
|
||||
Reference in New Issue
Block a user