diff --git a/apps/assets/models/protocol.py b/apps/assets/models/protocol.py index 41c3d2c76..b2e1b750b 100644 --- a/apps/assets/models/protocol.py +++ b/apps/assets/models/protocol.py @@ -1,5 +1,9 @@ +from django.db import models +from django.utils.translation import gettext_lazy as _ + from common.db.models import JMSBaseModel class Protocol(JMSBaseModel): - pass + name = models.CharField(max_length=32, verbose_name=_("Name")) + port = models.IntegerField(verbose_name=_("Port"))