Prechádzať zdrojové kódy

update 设备表增加sim卡号和移动运营商字段

龙三郎 3 rokov pred
rodič
commit
82f383219b

+ 9 - 0
coffee-system/src/main/java/com/coffee/bus/entity/BusDeviceEntity.java

@@ -62,6 +62,15 @@ public class BusDeviceEntity extends TenantGenericEntity<String,String> {
     @TableField(typeHandler = FastjsonTypeHandler.class,updateStrategy = FieldStrategy.DEFAULT)
     private AliIotConfig config;
 
+
+    @ApiModelProperty(value = "sim卡卡号")
+    @Length(max = 255,message = "sim卡卡号不得超过255个字符")
+    private String simIccid;
+
+    @ApiModelProperty(value = "移动网络运营商")
+    @Length(max = 255,message = "移动网络运营商不得超过255个字符")
+    private String simMno;
+
     @ApiModelProperty(value = "是否启用,0、不启用 1、启用 ")
     private Boolean enable;