package com.sqx.modules.resumes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sqx.modules.app.entity.UserEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @description shield_company
 * @author fang
 * @date 2022-08-12
 */
@Data
public class ShieldCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 屏蔽公司id
     */
    private Long shieldCompanyId;
    /**
     * 1用户拉黑企业 2企业拉黑用户
     */
    private Integer shieldType;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 创建时间
     */
    private String createTime;


    @TableField(exist = false)
    private UserEntity user;

    @TableField(exist = false)
    private Company company;

    public ShieldCompany() {}
}
