mirror of https://github.com/jumpserver/jumpserver
Merge branch 'wangyong'
commit
345be469fa
|
@ -30,7 +30,7 @@ class Asset(models.Model):
|
||||||
('M', 'MAP'),
|
('M', 'MAP'),
|
||||||
)
|
)
|
||||||
ip = models.IPAddressField(unique=True)
|
ip = models.IPAddressField(unique=True)
|
||||||
port = models.SmallIntegerField(max_length=5)
|
port = models.IntegerField(max_length=6)
|
||||||
idc = models.ForeignKey(IDC)
|
idc = models.ForeignKey(IDC)
|
||||||
bis_group = models.ManyToManyField(BisGroup)
|
bis_group = models.ManyToManyField(BisGroup)
|
||||||
dept = models.ManyToManyField(DEPT)
|
dept = models.ManyToManyField(DEPT)
|
||||||
|
|
Loading…
Reference in New Issue