jinlin
2025-03-01 86f02fee03614fef275c6e0c355d73318ca3025e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有,侵权必究!
 */
 
package com.example.server.sysOss.model;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.server.entity.BusiEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.util.ArrayList;
 
/**
 * 文件上传
 *
 * @author hehz
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DJ_SYS_OSS")
public class SysOss extends BusiEntity implements Cloneable{
    private static final long serialVersionUID = 1L;
 
    private String name;
 
    private String type;
 
    private Double size;
 
    @JsonIgnore
    private String path;
 
    private String url;
 
    @TableField(value = "level2")
    private Integer level;
 
    @JsonIgnore
    private Long busiId;
 
    @JsonIgnore
    private String busiType;
 
    @ApiModelProperty(value = "业务类型")
    @JsonProperty("busiType")
    private String busiTypeName;
 
    @JsonIgnore
    private String busiField;
 
    @ApiModelProperty(value = "业务字段类型")
    @JsonProperty("busiField")
    private String busiFieldName;
 
    private Integer sort;
 
    @JsonIgnore
    private String channel;
 
    private Integer status;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "文件类型")
    private String directoryId;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "工程项目")
    private Long projectId;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "文件主题")
    private String fileTitle;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "版本")
    private String edition;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "文件类型名字")
    private String ditectoryName;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "单位名字")
    private String companyName;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "上传人")
    private String userName;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "文件名字")
    private String fileName;
 
    @Override
    public SysOss clone() throws CloneNotSupportedException {
        SysOss oss = (SysOss) super.clone();
        return oss;
    }
}