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;
import java.math.BigDecimal;

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

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 查看简历
     */
    private Long viewResumesId;

    /**
     * 简历id
     */
    private Long resumesId;


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

    /**
     * 支付金额
     */
    private BigDecimal payMoney;

    /**
     * 支付方式 1钻石 2微信 3支付宝
     */
    private Integer payType;

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



    @TableField(exist = false)
    private Resumes resumes;

    @TableField(exist = false)
    private UserEntity user;

    public ViewResumes() {}
}
