package com.seer.teach.mp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 代理商员工关联表
 * </p>
 *
 * @author Lingma
 * @since 2025-12-29
 */
@Getter
@Setter
@TableName("mp_agent_employee_relation")
@Schema(name = "MpAgentEmployeeRelationEntity对象", description = "代理商员工关联表")
public class MpAgentEmployeeRelationEntity extends BaseEntity {

    /**
     * 代理商ID（对应user表的ID）
     */
    @TableField("agent_id")
    private Integer agentId;

    /**
     * 员工用户ID（对应user表的ID）
     */
    @TableField("employee_user_id")
    private Integer employeeUserId;


    @TableField("agent_name")
    private String agentName;

    @TableField("employee_name")
    private String employeeName;

    @TableField("contact_phone")
    private String contactPhone;

    /**
     * 员工职位
     */
    @TableField("position")
    private String position;

    /**
     * 员工状态：0-禁用，1-启用
     */
    @TableField("status")
    private Integer status;
}