feat(REQ-2106): 素材创建新增materialType字段
This commit is contained in:
parent
55ad56eaa8
commit
60a0df3447
@ -2,6 +2,7 @@ package cn.axzo.nanopart.api.request;
|
||||
|
||||
import cn.axzo.nanopart.api.enums.MaterialDisplayFrequencyTypeEnum;
|
||||
import cn.axzo.nanopart.api.enums.MaterialTargetUserTypeEnum;
|
||||
import cn.axzo.nanopart.api.enums.MaterialTypeEnum;
|
||||
import cn.axzo.nanopart.api.enums.StatusEnum;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.AllArgsConstructor;
|
||||
@ -68,6 +69,11 @@ public class CreateMaterialReq {
|
||||
*/
|
||||
private StatusEnum status;
|
||||
|
||||
/**
|
||||
* 素材类型,取值:IMAGE, VIDEO, APPLET
|
||||
*/
|
||||
private MaterialTypeEnum materialType;
|
||||
|
||||
/**
|
||||
* 占位图,支持jpg、jpeg、png、gif,限定大小为200k
|
||||
* eg: {
|
||||
|
||||
@ -27,7 +27,7 @@ import java.util.List;
|
||||
public class MaterialResp extends PageMaterialResp {
|
||||
|
||||
/**
|
||||
* 素材类型,取值:IMAGE, VIDEO, APPLET
|
||||
* 素材类型,取值:IMAGE, VIDEO, AUDIO
|
||||
*/
|
||||
private MaterialTypeEnum materialType;
|
||||
|
||||
|
||||
@ -72,7 +72,7 @@ public class Material extends BaseEntity<Material> {
|
||||
private StatusEnum status;
|
||||
|
||||
/**
|
||||
* 素材类型,取值:IMAGE, VIDEO, APPLET
|
||||
* 素材类型,取值:IMAGE, VIDEO, AUDIO
|
||||
*/
|
||||
@TableField(value = "material_type")
|
||||
private MaterialTypeEnum materialType;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user