package com.sandu.ximon.dao.domain; 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 java.io.Serializable; import java.time.LocalDateTime; import lombok.Data; /** * 路灯表 * @TableName light */ @TableName(value ="light") @Data public class Light implements Serializable { /** * */ @TableId(type = IdType.AUTO) private Long lightId; /** * 设备识别码 */ private String deviceCode; /** * 备注信息 */ private String remark; /** * 灯1亮度百分比,0-100 */ private Integer lightPercent; /** * 灯2亮度百分比,0-100 */ private Integer light2Percent; /** * 创建时间 */ private LocalDateTime createTime; /** * */ private LocalDateTime updateTime; @TableField(exist = false) private static final long serialVersionUID = 1L; }