mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-08-30 11:49:43 +02:00
25 lines
739 B
Python
25 lines
739 B
Python
from django.db import models
|
|
from startScan.models import *
|
|
from dashboard.models import Project
|
|
|
|
|
|
class TodoNote(models.Model):
|
|
id = models.AutoField(primary_key=True)
|
|
title = models.CharField(max_length=1000, null=True, blank=True)
|
|
description = models.TextField(null=True, blank=True)
|
|
scan_history = models.ForeignKey(
|
|
ScanHistory,
|
|
on_delete=models.CASCADE,
|
|
null=True,
|
|
blank=True
|
|
)
|
|
subdomain = models.ForeignKey(
|
|
Subdomain,
|
|
on_delete=models.CASCADE,
|
|
null=True,
|
|
blank=True
|
|
)
|
|
is_done = models.BooleanField(default=False)
|
|
is_important = models.BooleanField(default=False)
|
|
project = models.ForeignKey(Project, on_delete=models.CASCADE)
|