修复设备分类和设备型号问题
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
package com.gxwebsoft.tower.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import java.time.LocalDate;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 配件管理
|
||||
*
|
||||
@@ -43,6 +41,9 @@ public class TowerAccessory implements Serializable {
|
||||
@ApiModelProperty(value = "适用设备型号")
|
||||
private String accessoryModel;
|
||||
|
||||
@ApiModelProperty(value = "适用设备型号(多选)")
|
||||
private String accessoryModelMultiple;
|
||||
|
||||
@ApiModelProperty(value = "配件规格")
|
||||
private String accessorySpecs;
|
||||
|
||||
|
||||
@@ -24,11 +24,14 @@ public class TowerModel implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "型号ID")
|
||||
@TableId(value = "category_id", type = IdType.AUTO)
|
||||
private Integer categoryId;
|
||||
@TableId(value = "model_id", type = IdType.AUTO)
|
||||
private Integer modelId;
|
||||
|
||||
@ApiModelProperty(value = "设备型号名称")
|
||||
private String title;
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "设备型号")
|
||||
private String model;
|
||||
|
||||
@ApiModelProperty(value = "上级分类ID")
|
||||
private Integer parentId;
|
||||
|
||||
Reference in New Issue
Block a user