4670101279
2 years ago
6 changed files with 98 additions and 5 deletions
@ -0,0 +1,35 @@
@@ -0,0 +1,35 @@
|
||||
package com.ruoyi.code.camera.domain; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
|
||||
@Data |
||||
@TableName("camera_auto_reboot_log") |
||||
public class CameraAutoRebootLog implements Serializable |
||||
{ |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** $column.columnComment */ |
||||
@TableId(type = IdType.INPUT) |
||||
private Long id; |
||||
|
||||
/** 设备序列号 */ |
||||
private String devsn; |
||||
|
||||
/** 重启结果 */ |
||||
private String result; |
||||
|
||||
/** 重启时间 */ |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
private Date rebootTime; |
||||
|
||||
} |
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
package com.ruoyi.code.camera.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.ruoyi.code.camera.domain.CameraAutoRebootLog; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
/** |
||||
* Mapper接口 |
||||
* |
||||
* @author ruoyi |
||||
* @date 2022-06-21 |
||||
*/ |
||||
@Mapper |
||||
public interface CameraAutoRebootLogMapper extends BaseMapper<CameraAutoRebootLog> |
||||
{ |
||||
|
||||
} |
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
package com.ruoyi.code.camera.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.ruoyi.code.camera.domain.CameraAutoRebootLog; |
||||
|
||||
/** |
||||
* Service接口 |
||||
* |
||||
* @author ruoyi |
||||
* @date 2022-06-21 |
||||
*/ |
||||
public interface ICameraAutoRebootLogService extends IService<CameraAutoRebootLog> |
||||
{ |
||||
} |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
package com.ruoyi.code.camera.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.ruoyi.code.camera.domain.CameraAutoRebootLog; |
||||
import com.ruoyi.code.camera.mapper.CameraAutoRebootLogMapper; |
||||
import com.ruoyi.code.camera.service.ICameraAutoRebootLogService; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* Service业务层处理 |
||||
* |
||||
* @author ruoyi |
||||
* @date 2022-06-21 |
||||
*/ |
||||
@Service("cameraAutoRebootLogService") |
||||
public class CameraAutoRebootLogServiceImpl extends ServiceImpl<CameraAutoRebootLogMapper, CameraAutoRebootLog> implements ICameraAutoRebootLogService |
||||
{ |
||||
} |
Loading…
Reference in new issue