package com.bcxin.tenant.domain.readers.dtos;

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

@Data
public class EmployeeStatusDto {
    private  String id;
    private  int status;

    /**
     * 为了getEmployeeIdByOrganIdAndIdNumAndType而设立的默认构造函数
     */
    public EmployeeStatusDto()
    {

    }
    public EmployeeStatusDto(String id, EmploymentStatus status) {
        this.id = id;
        this.status = status.ordinal();
    }
}
