/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.springblade.modules.equipment.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import java.time.LocalDateTime;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import java.io.Serializable;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
/**
|
* 实体类
|
*
|
* @author BladeX
|
* @since 2020-07-01
|
*/
|
@Data
|
@TableName("sys_equipment")
|
@ApiModel(value = "Equipment对象", description = "Equipment对象")
|
public class Equipment implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
* 设备名称
|
*/
|
@ApiModelProperty(value = "设备名称")
|
@TableField("deviceName")
|
private String deviceName;
|
/**
|
* 设备编码
|
*/
|
@ApiModelProperty(value = "设备编码")
|
@TableField("deviceNumber")
|
private String deviceNumber;
|
/**
|
* 设备类型
|
*/
|
@ApiModelProperty(value = "设备类型")
|
@TableField("deviceType")
|
private String deviceType;
|
/**
|
* 权属
|
*/
|
@ApiModelProperty(value = "权属")
|
private String ownership;
|
/**
|
* 业主id
|
*/
|
@ApiModelProperty(value = "业主id")
|
@TableField("ownerId")
|
private String ownerId;
|
/**
|
* 设备状态
|
*/
|
@ApiModelProperty(value = "设备状态")
|
private String devicestate;
|
/**
|
* 提交日期
|
*/
|
@ApiModelProperty(value = "提交日期")
|
private String stime;
|
/**
|
* 空间坐标
|
*/
|
@ApiModelProperty(value = "空间坐标")
|
private String coordinate;
|
/**
|
* 菜单父主键
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long parentId;
|
|
private String jd;
|
|
private String wd;
|
private String addvcd;
|
private String street;
|
private String dtype;
|
private String serialNumber;
|
private String stype;
|
private String channelNumber;
|
private String pay;
|
private String expireTime;
|
|
|
}
|