feat: add job seeker notice settings API

This commit is contained in:
2026-07-22 20:29:59 +08:00
parent 0dc3ff96fc
commit c8c70652ac
13 changed files with 546 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
package com.ruoyi.cms.domain.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
* 移动端消息接收设置保存请求。
*/
@Data
@ApiModel("移动端消息接收设置保存请求")
public class NoticeSettingRequest
{
@NotNull(message = "职位上新开关不能为空")
@ApiModelProperty(value = "是否接收职位上新通知", required = true, example = "true")
private Boolean jobUpdateEnabled;
@NotNull(message = "预约提醒开关不能为空")
@ApiModelProperty(value = "是否接收招聘会预约提醒", required = true, example = "true")
private Boolean appointmentReminderEnabled;
@NotNull(message = "系统通知开关不能为空")
@ApiModelProperty(value = "是否接收系统通知", required = true, example = "true")
private Boolean systemNotificationEnabled;
@NotNull(message = "面试通知开关不能为空")
@ApiModelProperty(value = "是否接收面试通知", required = true, example = "true")
private Boolean interviewNotificationEnabled;
}