import json

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

class EmxTtActivityPosHistory(models.Model):
    activity_code = models.CharField(max_length=255)
    pos_code = models.CharField(max_length=255, db_comment="this pos is based on student set activity, the student set it self pos")
    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_pos_history"
