package com.ruoyi.school.course.domain.req.time;

import com.ruoyi.common.page.ReqDeptCondition;
import com.ruoyi.common.utils.SecurityUtils;
import lombok.Builder;
import lombok.Data;

/**
 * @author ：zhangbaoyu
 * @date ：Created in 2020/10/24 12:21
 */
@Data
@Builder
public class ReqClaTimeCount extends ReqDeptCondition {

    private String beginDate;
    private String endDate;
    private String tenantId;
    private Boolean hadBegin;
    private Long teacherId;

    public String getTenantId(){
        return SecurityUtils.getLoginUser().getNowTenantId();
    }

}
