package jnpf.entity.attendance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 规则适用范围 
 * @author yanwenfu
 * @create 2025-09-18 
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ftb_attendance_rule_scope")
public class AttendanceRuleScope extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {

    private static final long serialVersionUID = 6372861354152546594L;

    /** 用户id */
    @TableField(exist = false)
    private String userId;

    /** 业务类型(ScopeBizType) */
    @TableField(value = "F_BizType")
    private String bizType;

    /** 业务对应的规则/配置ID */
    @TableField(value = "F_RuleId")
    private String ruleId;

    /** 1=个人, 2=组织, 3=全部 */
    @TableField(value = "F_ScopeType")
    private Integer scopeType;

    /** 组织id/用户id */
    @TableField(value = "F_ScopeValue")
    private String scopeValue;

    /** 优先级(数值越小越优先) */
    @TableField(value = "F_Priority")
    private Integer priority;
    /** 扩展字段 */
    @TableField(value = "F_Expand")
    private String expand;
}
