Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
38cd3df3
authored
2025-05-11 11:22:23 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增广告类别
1 parent
0a723442
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
lego-core/src/main/java/com/lego/core/domin/Advert.java
lego-core/src/main/java/com/lego/core/domin/bo/AdvertBo.java
lego-core/src/main/java/com/lego/core/domin/vo/AdvertVo.java
lego-core/src/main/java/com/lego/core/domin/Advert.java
View file @
38cd3df
...
...
@@ -52,8 +52,14 @@ public class Advert extends BaseEntity {
private
String
language
;
/**
* 类型(0广告 1背景图片 )
*/
private
String
type
;
/**
* 删除标志(0代表存在 2代表删除)
*/
@TableLogic
private
String
delFlag
;
}
...
...
lego-core/src/main/java/com/lego/core/domin/bo/AdvertBo.java
View file @
38cd3df
...
...
@@ -40,6 +40,12 @@ public class AdvertBo extends BaseBO {
private
String
status
;
/**
* 类型(0词语 1图标 )
*/
@NotBlank
(
message
=
"类别不能为空"
)
private
String
type
;
/**
* 文件ID
*/
private
String
ossId
;
...
...
lego-core/src/main/java/com/lego/core/domin/vo/AdvertVo.java
View file @
38cd3df
...
...
@@ -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
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment