:art: Remove unused codes

huangqimin001 %!s(int64=2) %!d(string=hace) años
padre
commit
c21f4c7f3d
Se han modificado 1 ficheros con 0 adiciones y 9 borrados
  1. 0 9
      tenancy/models.py

+ 0 - 9
tenancy/models.py

@@ -11,14 +11,6 @@ from mch.models import ModelInfo
11 11
 
12 12
 
13 13
 class TenancyShotInfo(BaseModelMixin):
14
-    FITTINGS_TYPE = (
15
-        (0, u'前盖'),
16
-        (1, u'后盖'),
17
-        (2, u'遮光罩'),
18
-        (3, u'脚架环'),
19
-        (4, u'外观性能'),
20
-    )
21
-
22 14
     TENANCY_STATUS = (
23 15
         (0, u'未租'),
24 16
         (1, u'已租'),
@@ -28,7 +20,6 @@ class TenancyShotInfo(BaseModelMixin):
28 20
     model_id = models.CharField(_(u'model_id'), max_length=32, blank=True, null=True, help_text=u'型号唯一标识', db_index=True)
29 21
     model_name = models.CharField(_(u'model_name'), max_length=255, blank=True, null=True, help_text=u'型号名称')
30 22
     sn = models.CharField(_(u'sn'), max_length=32, blank=True, null=True, help_text=u'序列号', db_index=True)
31
-    # fittings_type = models.IntegerField(_(u'fittings_type'), choices=FITTINGS_TYPE, default=0, help_text=u'配件类型')
32 23
     front_cap_status = models.BooleanField(_(u'front_cap_status'), default=True, help_text=u'前盖状态')
33 24
     rear_cap_status = models.BooleanField(_(u'rear_cap_status'), default=True, help_text=u'后盖状态')
34 25
     lens_hood_status = models.BooleanField(_(u'lens_hood_status'), default=True, help_text=u'遮光罩状态')