init
Some checks failed
Build And Test / build-and-push (push) Failing after 53s

This commit is contained in:
2024-12-13 17:12:03 +09:00
parent a27be94b19
commit ea11832a53
695 changed files with 71766 additions and 1 deletions

11
mm_msg/models.py Normal file
View File

@ -0,0 +1,11 @@
from django.db import models
class Message(models.Model):
title = models.CharField(max_length=100, null=True) # 메시지 제목
text = models.TextField()
send_time = models.DateTimeField() # 메시지를 전송할 시간
created_at = models.DateTimeField(auto_now_add=True)
is_sent = models.BooleanField(default=False) # 메시지 전송 여부
def __str__(self):
return f"{self.title} ::: Message scheduled at {self.send_time}"