package com.fuyuanshen.equipment.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Description: 设备类型
 * @Author: WY
 * @Date: 2025/5/14
 **/
@Data
public class DeviceTypeForm {

    @Schema(title = "ID", hidden = true)
    private Long id;

    @Schema(title = "类型名称", required = true)
    private String typeName;

    @Schema(title = "是否支持蓝牙")
    private Boolean isSupportBle;

    @Schema(title = "定位方式", example = "0:无;1:GPS;2:基站;3:wifi;4:北斗")
    private Integer locateMode;

    @Schema(title = "联网方式", example = "0:无;1:4G;2:WIFI")
    private Integer networkWay;

    @Schema(title = "通讯方式", example = "通讯方式 0:4G;1:蓝牙,2 4G&蓝牙")
    private Integer communicationMode;

    /**
     * 型号字典用于APP页面跳转
     */
    @Schema(title = "型号字典用于APP页面跳转")
    private String modelDictionary;

    /**
     * 型号字典用于APP页面跳转
     * app_model_dictionary
     */
    @Schema(title = "型号字典用于APP页面跳转")
    private String appModelDictionary;

    /**
     * 型号字典用于PC页面跳转
     * pc_model_dictionary
     */
    @Schema(title = "型号字典用于PC页面跳转")
    private String pcModelDictionary;
    @Schema(title = "设备图片")
    private String devicePic;

    @Schema(title = "设备图片")
    private MultipartFile file;

}
