package com.ruoyi.xq.dto.admin.syspush;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.constant.DateConstant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class SysPushMasterDTO {
    private Integer groupId;
    private String usercode;
    private String onlyText;

    private String textText1;
    private String textText2;
    private Integer textLinkType;
    private String textLinkUrl;

    private Integer oneImageTitleType;
    private String oneImageImage;
    private String oneImageText;
    private Integer oneImageLinkType;
    private String oneImageLinkUrl;

    private String onlyImage;

    private Integer sendTimeType;
    @DateTimeFormat(pattern = DateConstant.PATTERN_DATETIME)
    @JsonFormat(pattern = DateConstant.PATTERN_DATETIME)
    private LocalDateTime sendTime;
    private String title;
    private Integer type;
    private String remark;
}
