-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.py
More file actions
20 lines (17 loc) · 2.55 KB
/
Copy pathmodels.py
File metadata and controls
20 lines (17 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from django.db import models
class StudentQrAuth(models.Model):
qr_id = models.AutoField(db_column='QR_id', primary_key=True) # Field name made lowercase.
s_name = models.TextField(db_column='S_Name', db_collation='SQL_Latin1_General_CP1_CI_AS', blank=True, null=True) # Field name made lowercase.
s_enrollment_no = models.BigIntegerField(db_column='S_Enrollment_No', blank=True, null=True) # Field name made lowercase.
s_email = models.CharField(db_column='S_email', max_length=250, db_collation='SQL_Latin1_General_CP1_CI_AS', blank=True, null=True) # Field name made lowercase.
is_qr_scanned = models.BooleanField(db_column='Is_QR_scanned', blank=True, null=True) # Field name made lowercase.
class Meta:
managed = False
db_table = 'Student_QR_Auth'