/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.attence.ruleperson.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-04-12
 */
@Data
@TableName("attence_rule_person")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RulePerson对象", description = "RulePerson对象")
public class RulePerson extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 打卡人id
	*/
		@ApiModelProperty(value = "打卡人id")
		private Long personId;
	/**
	* 打卡人id
	*/
		@ApiModelProperty(value = "打卡人名称")
		private String personName;
	/**
	* 0-企业员工
	*/
		@ApiModelProperty(value = "0-企业员工")
		private Integer personType;
	/**
	* 是否为白名单（即无需参加打卡）：0-不是 1-是
	*/
		@ApiModelProperty(value = "人员类型：0-打卡人员 1-白名单 2-汇报对象")
		private Integer type;
	/**
	* 关联的打卡规则id
	*/
		@ApiModelProperty(value = "关联的打卡规则id")
		private Long ruleId;


}
