6 天以前 c62fa713ee37db1ff7520d2ca6545f569395bb40
src/main/java/com/ruoyi/other/pojo/TempFile.java
@@ -1,14 +1,18 @@
package com.ruoyi.other.pojo;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@TableName("temp_file")
public class TempFile {
public class TempFile implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
@@ -17,4 +21,12 @@
    private String tempPath;       // 临时存储路径
    private LocalDateTime expireTime; // 过期时间
    private Integer type;       // 关联表类型
    private Long fileSize;       // 文件大小
    @ApiModelProperty(value = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}