import json

from django.contrib.contenttypes.fields import GenericRelation
from django.db import models

class EmxTtActivityStaffHistory(models.Model):
    activity_code = models.CharField(max_length=255)
    staff_code = models.CharField(max_length=255)
    record_state = models.CharField(max_length=100, db_comment="U - update/create, D - Delete")
    created_at = models.DateTimeField(auto_now_add=True,null=True)

    class Meta:
        db_table = "emx_tt_activity_staff_history"
