package com.writeoff.module.system.dto;

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

public class CreateUserDelegationRequest {
    @NotNull(message = "代理人不能为空")
    private Long delegateUserId;
    @NotBlank(message = "生效时间不能为空")
    private String effectiveFrom;
    @NotBlank(message = "失效时间不能为空")
    private String effectiveTo;
    private String reason;

    public Long getDelegateUserId() {
        return delegateUserId;
    }

    public String getEffectiveFrom() {
        return effectiveFrom;
    }

    public String getEffectiveTo() {
        return effectiveTo;
    }

    public String getReason() {
        return reason;
    }
}
