package com.writeoff.module.finance.dto;

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

public class FinanceLockRequest {
    @NotBlank(message = "幂等键不能为空")
    private String idempotencyKey;
    @NotNull(message = "项目ID不能为空")
    private Long projectId;
    @NotBlank(message = "原因不能为空")
    private String reason;

    public String getIdempotencyKey() {
        return idempotencyKey;
    }

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

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getReason() {
        return reason;
    }

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