Commit b79f09db authored by M.S.M.Perera's avatar M.S.M.Perera

Gazette_mst table created

parent 5f0b6e57
......@@ -4,6 +4,13 @@ from django.db.models.fields import AutoField
# Create your models here.
#User Table
class Gazette_mst(models.Model):
GID = models.AutoField(primary_key=True)
GType = models.CharField(max_length=10)
GTitle = models.CharField(max_length=100)
GDesc = models.CharField(max_length=200)
class Users(models.Model):
UserID = models.AutoField(primary_key=True)
UserEmpID = models.CharField(max_length=5, default='00000')
......@@ -15,15 +22,9 @@ class Gazette(models.Model):
GazetteNo = models.IntegerField(primary_key=True)
GazetteDate = models.CharField(max_length=100)
PriceAvl = models.CharField(
max_length=100, default="0")
max_length=100, default="0")
class Gazette_mst(models.Model):
GID = models.AutoField(primary_key=True)
GType = models.CharField(max_length=10)
GTitle = models.CharField(max_length=100)
GDesc = models.CharField(max_length=200)
class G_GEN(models.Model):
rowId = models.AutoField(primary_key=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment