jumpserver/apps/assets/models/protocol.py

8 lines
238 B
Python
Raw Normal View History

2022-04-26 03:24:08 +00:00
from django.db import models
from django.utils.translation import gettext_lazy as _
2022-04-20 02:15:20 +00:00
2022-08-04 02:44:11 +00:00
class Protocol(models.Model):
2022-04-26 03:24:08 +00:00
name = models.CharField(max_length=32, verbose_name=_("Name"))
port = models.IntegerField(verbose_name=_("Port"))