minutesid=models.ForeignKey (MeetingType, on_delete models.DO_NOTHING) minutesattendance=models.ManyToManyField(User) minutestext=models.TextField() def __str__(self): return self.typename class Meta: db_table= 'resource' verbose_name_plural='MeetingResources' class MeetingResource resourcename=models.Charfield (max_length='64') resourcetype=models.Charfield (max_length='64') resourceurl=models.URLField(null=True, blank=True) resourceentrydate=models.Datefield() resourceuserid resourcedescription=models.TextField() def __str__(self): return self.typename class Meta: db_table= 'events' verbose_name_plural='MeetingEvents' class MeetingEvent eventtitle=models.Charfield (max_length='64') eventlocation=models.Charfield (max_length='64') eventdate=models.Datefield() eventtime=models.
class MeetingType(models.Model): meetingtitle=models.Charfield (max_length='64') meetingdate=models.Datefield() meetingtime=models=models meetinglocation==models.Charfield (max_length='256') meetingagenda=models.Charfield (max_length='256')
class Post(models.Model): title = models.CharField(max_length=100) content = models.CharField(max_length=100) tags = models.CharField(max_length=25) publish_time = models.Datefield() author_id = models.ForeignKey(User, on_delete=models.CASCADE, null=True)