package com.huimv.employment.service.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 发送验证码成功响应体。
 */
@Schema(description = "发送验证码响应")
public class SmsSendResponse {

    @Schema(description = "是否 Mock 模式；true 时前端可提示「测试环境，验证码为 123456」", example = "true")
    private boolean mockEnabled;

    @Schema(description = "验证码有效时长（秒）", example = "300")
    private int expireSeconds;

    public SmsSendResponse() {
    }

    public SmsSendResponse(boolean mockEnabled, int expireSeconds) {
        this.mockEnabled = mockEnabled;
        this.expireSeconds = expireSeconds;
    }

    public boolean isMockEnabled() {
        return mockEnabled;
    }

    public void setMockEnabled(boolean mockEnabled) {
        this.mockEnabled = mockEnabled;
    }

    public int getExpireSeconds() {
        return expireSeconds;
    }

    public void setExpireSeconds(int expireSeconds) {
        this.expireSeconds = expireSeconds;
    }
}
