package com.ruoyi.device.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.FieldFill; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; @Data @TableName("device_status_change_record") public class DeviceStatusChangeRecord implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; private Long deviceId; private Integer originalStatus; private Integer targetStatus; private String reason; private String rejectReason; private String approvalStatus; @TableField(fill = FieldFill.INSERT) private Long createUser; @TableField(exist = false) private String createUserName; @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private Long updateUser; @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @TableField(fill = FieldFill.INSERT) private Long tenantId; @TableField(fill = FieldFill.INSERT) private Long deptId; private Integer deleted; }