WePoster.java
1.87 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.linkwechat.wecom.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linkwechat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
/**
* 海报
* @author ws
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "we_poster")
@ApiModel(value = "海报")
public class WePoster extends BaseEntity {
@TableId
@ApiModelProperty(value = "id")
private Long id;
/**
* 海报标题
*/
@TableField
@ApiModelProperty(value = "海报标题")
private String title;
/**
* 背景图片
*/
@TableField
@ApiModelProperty(value = "背景图片")
private String backgroundImgPath;
/**
* 示例图片
*/
@TableField
@ApiModelProperty(value = "示例图片")
private String sampleImgPath;
/**
* 海报类型 1 通用海报
*/
@TableField
@ApiModelProperty(value = "海报类型 1 通用海报(默认)")
private Long type;
@TableField
@ApiModelProperty(value = "海报状态 0 启用 1 关闭")
private Integer delFlag;
@TableField
@ApiModelProperty(value = "海报背景宽度")
private Integer width;
@TableField
@ApiModelProperty(value = "海报背景高度")
private Integer height;
@TableField
@ApiModelProperty("资源类型")
private String mediaType;
@TableField
@ApiModelProperty("分类id")
private Long categoryId;
@ApiModelProperty("其他字段")
private String otherField;
/**
* 海报组件数组
*/
@TableField(exist = false)
private List<WePosterSubassembly> posterSubassemblyList;
}