package com.writeoff.module.audit.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class TransferAuditTaskRequest {
    @NotBlank(message = "幂等键不能为空")
    private String idempotencyKey;
    @NotNull(message = "转交目标用户不能为空")
    private Long toUserId;
    @NotBlank(message = "转审原因不能为空")
    private String reason;

    public String getIdempotencyKey() {
        return idempotencyKey;
    }

    public void setIdempotencyKey(String idempotencyKey) {
        this.idempotencyKey = idempotencyKey;
    }

    public Long getToUserId() {
        return toUserId;
    }

    public void setToUserId(Long toUserId) {
        this.toUserId = toUserId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
