diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/entity/PrintDeviceInfo.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/entity/PrintDeviceInfo.java index 13282ec6f..50ec09268 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/entity/PrintDeviceInfo.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/printer/entity/PrintDeviceInfo.java @@ -2,8 +2,11 @@ package com.fuint.business.printer.entity; import java.util.Date; +import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; import com.fuint.repository.model.base.BaseEntity; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** @@ -16,6 +19,8 @@ import lombok.Data; public class PrintDeviceInfo extends BaseEntity { private static final long serialVersionUID = -94445696460905744L; + @ApiModelProperty("自增ID") + @TableId(value = "ID", type = IdType.AUTO) private Integer id; /** * 设备终端号