mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-17 15:27:43 +02:00
14 lines
396 B
Python
14 lines
396 B
Python
from django.db import models
|
|
from django.utils import timezone
|
|
|
|
|
|
class Domain(models.Model):
|
|
id = models.AutoField(primary_key=True)
|
|
name = models.CharField(max_length=300, unique=True)
|
|
description = models.TextField(blank=True, null=True)
|
|
insert_date = models.DateTimeField()
|
|
start_scan_date = models.DateTimeField(null=True)
|
|
|
|
def __str__(self):
|
|
return self.name
|