package cn.gistack.sm.sg.DO;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.Getter;
|
import lombok.Setter;
|
import org.springblade.core.mp.base.BaseEntity;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 施工项目表
|
* </p>
|
*
|
* @author shenyijian
|
* @since 2024-06-13 11:51:20
|
*/
|
@Data
|
@TableName("SG_DEVICE")
|
public class SgDeviceDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(type = IdType.AUTO)
|
|
private Long id;
|
|
/**
|
* 设备名称
|
*/
|
private String deviceName;
|
|
/**
|
* 设备类型
|
*/
|
private String deviceType;
|
/**
|
* 类型名称
|
*/
|
@TableField(exist = false)
|
private String typeName;
|
/**
|
* 项目id
|
*/
|
private String programId;
|
|
@TableField(exist = false)
|
private String programName;
|
/**
|
* 经度
|
*/
|
private String lon;
|
/**
|
* 纬度
|
*/
|
private String lat;
|
|
|
/**
|
* 安装地址
|
*/
|
private String address;
|
|
/**
|
* 创建人
|
*/
|
@TableField(exist = false)
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
|
/**
|
* 修改时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
|
|
}
|