package com.bcxin.api.interfaces.tenants.requests.employees;

import com.bcxin.Infrastructures.enums.CredentialType;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CreateEmployeeRequest  implements Serializable {
    @NotEmpty
    private String name;
    @NotEmpty
    private String telephone;
    @NotNull
    private CredentialType credentialType;
    @NotEmpty
    private String credentialNumber;
}
