/**
|
* 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;
|
}
|
}
|