| | |
| | | @Size(max = 1024, message = "推送目标长度不能超过 1024 个字符") |
| | | private String pushTarget; |
| | | |
| | | @Schema(description = "推送时选择的模板类型:1纯文本 2图文卡片 3文件通知 4图文消息;不传沿用通知配置", example = "2") |
| | | @InEnum(cn.iocoder.yudao.module.wxcp.enums.notice.WxCpNoticeTypeEnum.class) |
| | | private Integer noticeType; |
| | | |
| | | @Schema(description = "摘要(图文卡片/图文消息)") |
| | | @Size(max = 512, message = "摘要长度不能超过 512 个字符") |
| | | private String summary; |
| | | |
| | | @Schema(description = "跳转链接(图文卡片/图文消息)") |
| | | @Size(max = 1024, message = "跳转链接长度不能超过 1024 个字符") |
| | | private String linkUrl; |
| | | |
| | | @Schema(description = "按钮文案(图文卡片)") |
| | | @Size(max = 32, message = "按钮文案长度不能超过 32 个字符") |
| | | private String linkBtnText; |
| | | |
| | | @Schema(description = "封面图地址(图文消息)") |
| | | @Size(max = 1024, message = "封面图地址长度不能超过 1024 个字符") |
| | | private String coverUrl; |
| | | |
| | | @Schema(description = "文件通知的附件 Blob ID") |
| | | private Long fileBlobId; |
| | | |
| | | @Schema(description = "文件通知的附件文件名") |
| | | @Size(max = 255, message = "文件名长度不能超过 255 个字符") |
| | | private String fileName; |
| | | |
| | | } |