package com.yonyou.hrcloud.attentrpt.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 考勤月报
 * Created by hongwei.xu on 2017/8/25.
 */
@Data
public class AttendMonthRptVO extends AttendRptBaseVO {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "ts_monthstat";
    //年度	tsyear	char(4)
    private String tsyear;
    //月份	tsmonth	char(2)
    private String tsmonth;
    private String tsperiod;
    //迟到次数	latecount	smallint
    private Integer latecount;
    //早退次数	earlycount	smallint
    private Integer earlycount;
    //旷工工时	absenthour	decimal(16,4)
    private BigDecimal absenthour;
    //夜班工时	nightshifthour	decimal(16,4)
    private BigDecimal nightshifthour;
    //迟到时长	latelong	smallint
    private BigDecimal latelong;
    //早退时长	earlylong	smallint
    private BigDecimal earlylong;
    //应出勤天数	workdays	decimal(16,4)
    private BigDecimal workdays;
    //出勤天数	actualworkdays	decimal(16,4)
    private BigDecimal actualworkdays;
    //应出勤工时	workhours	decimal(16,4)
    private BigDecimal workhours;
    //出勤工时	actualworkhours	decimal(16,4)
    private BigDecimal actualworkhours;
    //出勤率	workpercent	decimal(16,4)
    private BigDecimal workpercent;
    //未刷卡次数	nobrushcount	int
    private Integer nobrushcount;
    //是否全勤	isallduty	char(1)
    private Boolean isallduty;
    //哺乳假次数	lactationcount	int
    private Integer lactationcount;
    //是否有效	iseffective	char(1)
    private Boolean iseffective;
    //是否审核	isapprove	char(1)
    private Boolean isapprove;
    //是否可以使用	isuseful	char(1)
    private Boolean isuseful;
    private Integer outsidecnt;//waiqin tianshu s
    private Integer leavecnt;//请假次数
    private Integer tripcnt;//出差次数
    private Integer fuldutycnt;//全勤次数
    private Integer unmormalcnt;//缺勤次数
    private Integer elasticRule;//弹性规则 0代表固定班不是弹性，1代表按日 2代表按月,按月弹时 月度实出勤时长要设置公式
    private Date begindate;//当前考勤方案对应的开始时间
    private Date enddate;////当前考勤方案对应的结束时间
    private int limittime;//考勤规则中对应的补考勤日期限制
    private int storeunit;//存休单位
    private BigDecimal store;//存休时长
    private Integer resigncnt;//补签次数
    private Integer absentcount;//旷工次数

    private Integer remainWorkdays;//待出勤天数
    private BigDecimal remainWorkhours;//待出勤时长
    private String staffCode;
    
    private BigDecimal f_n_1;//平时中午加班次数
    private BigDecimal f_n_2;//平时晚上加班次数
    private BigDecimal f_n_3;//周末加班次数
    private BigDecimal f_n_4;//节假日加班次数
    private BigDecimal f_n_5;//平时加班时长
    private BigDecimal f_n_6;//周末加班时长
    private BigDecimal f_n_7;//节假日加班时长

}
