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

import com.bcxin.Infrastructures.enums.OccupationType;
import com.bcxin.api.interfaces.RequestAbstract;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

@Data
public class InviteDepartRequest extends RequestAbstract {

    /**
     * 入职部门
     */
    @NotEmpty
    private String departId;
    /**
     * 职业类型
     */
    @NotNull
    private OccupationType occupationType;

    /**
     * 链接有效截止日期
     */
    @NotNull
    private Timestamp endTime;

}
