chore: planning for project management

!21 #14
This commit is contained in:
2024-06-12 12:08:03 +09:30
parent c570fb114f
commit fe1a9d07f7
3 changed files with 106 additions and 1 deletions

View File

@ -0,0 +1,47 @@
from django.db import models
from access.models import TenancyObject
class ProjectModel(TenancyObject):
class Meta:
ordering = [
'code',
'name',
]
verbose_name = 'Project'
verbose_name_plural = 'Projects'
class ProjectStates(enum):
OPEN = 1
CLOSED = 1
name
description
priority
state
percent_done # Auto-Calculate
project_type
code
planned_start_date
planned_finish_date
real_start_date