|
@@ -2,6 +2,7 @@ package com.idiot.operationbackend.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
+import com.idiot.operationbackend.support.MediaType;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 素材
|
|
* 素材
|
|
@@ -16,7 +17,7 @@ public class Material {
|
|
|
|
|
|
private String description;
|
|
private String description;
|
|
|
|
|
|
- private Integer type;
|
|
|
|
|
|
+ private MediaType type;
|
|
|
|
|
|
private String mediaId;
|
|
private String mediaId;
|
|
|
|
|
|
@@ -46,11 +47,11 @@ public class Material {
|
|
this.description = description;
|
|
this.description = description;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getType() {
|
|
|
|
|
|
+ public MediaType getType() {
|
|
return type;
|
|
return type;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setType(Integer type) {
|
|
|
|
|
|
+ public void setType(MediaType type) {
|
|
this.type = type;
|
|
this.type = type;
|
|
}
|
|
}
|
|
|
|
|