init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.ruoyi.xq.dto.admin.syspush;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class SysPushImageContextDTO {
|
||||
private String title;
|
||||
private String image;
|
||||
private Integer linkType;
|
||||
private String linkUrl;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.ruoyi.xq.dto.admin.syspush;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SysPushParams {
|
||||
private SysPushMasterDTO master;
|
||||
private List<SysPushTextContextDTO> textContext;
|
||||
private List<SysPushImageContextDTO> imageContext;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.ruoyi.xq.dto.admin.syspush;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class SysPushTextContextDTO {
|
||||
private String n;
|
||||
private String v;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.ruoyi.xq.dto.admin.user.req;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UpdateWxTransNumReq {
|
||||
private String usercode;
|
||||
private String remark;
|
||||
private Integer number;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.ruoyi.xq.dto.admin.wxtrans;
|
||||
|
||||
import com.ruoyi.xq.domain.WxTransOrder;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class WxTransOrderAdminVo extends WxTransOrder {
|
||||
private String nickname;
|
||||
private String mobile;
|
||||
|
||||
private String avatar;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.ruoyi.xq.dto.common.syspush;
|
||||
|
||||
import com.ruoyi.yunxin.resp.YxCommonR;
|
||||
import com.ruoyi.yunxin.resp.YxDataR;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class SendSysPushResp {
|
||||
|
||||
private YxDataR<YxCommonR> imResp;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.ruoyi.xq.dto.common.user;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MinUserDTO {
|
||||
private Long userId;
|
||||
private String usercode;
|
||||
private String nickname;
|
||||
|
||||
public MinUserDTO(Long userId, String usercode, String nickname) {
|
||||
this.userId = userId;
|
||||
this.usercode = usercode;
|
||||
this.nickname = nickname;
|
||||
}
|
||||
|
||||
public MinUserDTO() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user