feat(core): save_history method added to Ticket Comment Category

ref: #605 #615
This commit is contained in:
2025-02-16 22:22:32 +09:30
parent 0ee8369e24
commit f5d59c703d

View File

@ -137,3 +137,16 @@ class TicketCommentCategory(TicketCommentCategoryCommonFields):
def __str__(self):
return self.name
def save_history(self, before: dict, after: dict) -> bool:
from core.models.ticket.ticket_comment_category_history import TicketCommentCategoryHistory
history = super().save_history(
before = before,
after = after,
history_model = TicketCommentCategoryHistory
)
return history