package com.ylx.attendanceconfig.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("考勤扣款区间VO")
public class AttendanceDeductionRuleVO implements Serializable {
    private static final long serialVersionUID = -5881577398957998820L;

    @ApiModelProperty("扣款区间ID")
    private Long id;

    @ApiModelProperty("规则类型：1=早退时长扣款")
    private Integer ruleType;

    @ApiModelProperty("开始分钟数，包含该值")
    private Integer startMinutes;

    @ApiModelProperty("结束分钟数，包含该值")
    private Integer endMinutes;

    @ApiModelProperty("扣款金额，单位：元")
    private BigDecimal deductAmount;

    @ApiModelProperty("排序")
    private Integer sortOrder;
}
