38cd3df3 by chentao

新增广告类别

1 parent 0a723442
......@@ -52,8 +52,14 @@ public class Advert extends BaseEntity {
private String language;
/**
* 类型(0广告 1背景图片 )
*/
private String type;
/**
* 删除标志(0代表存在 2代表删除)
*/
@TableLogic
private String delFlag;
}
......
......@@ -40,6 +40,12 @@ public class AdvertBo extends BaseBO {
private String status;
/**
* 类型(0词语 1图标 )
*/
@NotBlank(message = "类别不能为空")
private String type;
/**
* 文件ID
*/
private String ossId;
......
......@@ -2,6 +2,8 @@ package com.lego.core.domin.vo;
import lombok.Data;
import javax.validation.constraints.NotBlank;
/**
* 广告视图对象 core_advert
*
......@@ -43,6 +45,11 @@ public class AdvertVo {
private String language;
/**
* 类型(0广告 1背景图片 )
*/
private String type;
/**
* 文件全地址
*/
private String ossUrl;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!