jumpserver/apps/assets/models/asset/cloud.py

12 lines
257 B
Python
Raw Normal View History

2022-04-28 04:47:39 +00:00
from django.db import models
from django.utils.translation import gettext_lazy as _
from .common import Asset
class Cloud(Asset):
cluster = models.CharField(max_length=4096, verbose_name=_("Cluster"))
def __str__(self):
2022-08-11 07:45:03 +00:00
return self.name