AdvertisementParamDTO.java
1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.softwarebr.nunu.dto.oper;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;
/**
* @date 2020-02-18 10:58:32
* @author lilin
*/
@Data
public class AdvertisementParamDTO {
@ApiModelProperty(value = "广告位置", required = true, example = "")
private Integer position;
@ApiModelProperty(value = "广告名称", required = true, example = "")
private String name;
@ApiModelProperty(value = "广告图片", required = true, example = "")
private String advertUri;
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "开始时间", required = true, example = "")
private LocalDateTime startDate;
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "结束时间", required = true, example = "")
private LocalDateTime endDate;
@ApiModelProperty(value = "排序值", required = true, example = "")
private Integer sortValue;
@ApiModelProperty(value = "链接类型", required = true, example = "")
private Integer linkType;
@ApiModelProperty(value = "跳转类型", required = true, example = "")
private Integer type;
@ApiModelProperty(value = "跳转地址", required = true, example = "")
private String linkUri;
}