Sfoglia il codice sorgente

4G设备信息新增卡类型

zhangdongming 3 anni fa
parent
commit
ce5c5fbbe5
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Model/models.py

+ 1 - 0
Model/models.py

@@ -2714,6 +2714,7 @@ class UnicomDeviceInfo(models.Model):
     status = models.SmallIntegerField(default=0, verbose_name=u'状态{0:可测试,1:测试完成,2:已使用}')
     serial_no = models.CharField(default='', max_length=32, verbose_name=u'设备序列号')
     user_id = models.CharField(blank=True, max_length=32, verbose_name=u'用户id')
+    card_type = models.SmallIntegerField(default=0, verbose_name=u'状态{0:联通,1:电信,2:移动}')
     main_card = models.SmallIntegerField(default=0, verbose_name=u'状态{0:主卡,1:拔插卡}')
     updated_time = models.IntegerField(default=0, verbose_name='更新时间')
     created_time = models.IntegerField(default=0, verbose_name='创建时间')