package org.springblade.attence.rule.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.attence.location.entity.Location;
import org.springblade.attence.ruleout.entity.RuleOut;
import org.springblade.attence.ruleperson.entity.RulePerson;
import org.springblade.attence.rulespectime.entity.RuleSpecTime;
import org.springblade.attence.ruletime.entity.RuleTime;
import org.springblade.attence.wifi.entity.Wifi;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "打卡规则VO对象", description = "打卡规则VO对象")
public class AttenceRuleVo extends RuleVO {

	@ApiModelProperty("打卡人员")
	private List<RulePerson> rulePersons;

	@ApiModelProperty("打卡位置")
	private List<Location> locations;

	@ApiModelProperty("打卡WiFi")
	private List<Wifi> wifiList;

	@ApiModelProperty("打卡时间")
	private List<RuleTime> ruleTimes;

	@ApiModelProperty("特殊打卡日期")
	private List<RuleSpecTime> ruleSpecTimes;

	@ApiModelProperty("外出打卡规则")
	private RuleOut ruleOut;

	@ApiModelProperty("当天是否是工作日")
	private Boolean isWork;
}
