From ed207f62dc9907c7d5483ec9b54b4f5a5a4216a0 Mon Sep 17 00:00:00 2001 From: sm4640 Date: Thu, 27 Mar 2025 16:52:15 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Feat:=20[#10]=20choice=20=EC=9A=94?= =?UTF-8?q?=EC=86=8C=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/choiceModels.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 common/models/choiceModels.py diff --git a/common/models/choiceModels.py b/common/models/choiceModels.py new file mode 100644 index 0000000..f2ea76e --- /dev/null +++ b/common/models/choiceModels.py @@ -0,0 +1,13 @@ +from django.db import models + +class GenderChoices(models.TextChoices): + MAN = '남', '남성' + WOMAN = '여', '여성' + +class CertificateCodeUseType(models.TextChoices): + EMAIL = '이메일', '이메일' + PHONE = '휴대폰', '휴대폰' + +class InviteCodeUseType(models.TextChoices): + PROJECT = '프로젝트', '프로젝트' + HACKATHON = '해커톤', '해커톤'