|
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.qmth.paper.library.common.base.BaseEntity;
|
|
|
-import com.qmth.paper.library.common.enums.FileTypeEnum;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
@@ -31,7 +30,7 @@ public class BasicFileType extends BaseEntity implements Serializable {
|
|
|
|
|
|
@ApiModelProperty(value = "文件类型类别")
|
|
|
@TableField("type")
|
|
|
- private FileTypeEnum type;
|
|
|
+ private String type;
|
|
|
|
|
|
public Long getSchoolId() {
|
|
|
return schoolId;
|
|
@@ -49,11 +48,11 @@ public class BasicFileType extends BaseEntity implements Serializable {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
- public FileTypeEnum getType() {
|
|
|
+ public String getType() {
|
|
|
return type;
|
|
|
}
|
|
|
|
|
|
- public void setType(FileTypeEnum type) {
|
|
|
+ public void setType(String type) {
|
|
|
this.type = type;
|
|
|
}
|
|
|
}
|