Commit ef7ea324 authored by ma's avatar ma

完善Bug

parent 9355271f
package iot.sixiang.license.model.vo; package iot.sixiang.license.model.vo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import iot.sixiang.license.entity.Report; import iot.sixiang.license.entity.Report;
import lombok.Data; import lombok.Data;
import java.util.Date;
/** /**
* Created by m33 * Created by m33
* Date 2023/2/1 14:06 * Date 2023/2/1 14:06
* Description * Description
*/ */
@Data @Data
public class ReportVO extends Report { public class ReportVO {
@ApiModelProperty("id")
@TableId(type = IdType.AUTO)
private Integer id;
@ApiModelProperty("报警大类 1:系统,0:设备")
private Integer category;
@ApiModelProperty("报警类型")
private Integer type;
@ApiModelProperty("设备编码(系统报警该值为空)")
private String sn;
@ApiModelProperty("报警说明")
private String description;
@ApiModelProperty("报警账户")
private String userName;
@ApiModelProperty("报警公司")
private String userCompany;
@ApiModelProperty("创建时间")
private Date createTime;
@ApiModelProperty("更新时间")
private Date updateTime;
@ApiModelProperty("逻辑删除标识 1:删除,0:未删除")
private Integer deleted;
@ApiModelProperty("报警事件") @ApiModelProperty("报警事件")
private String reportTypeStr; private String reportTypeStr;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment