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 lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description post_details
 * @author fang
 * @date 2022-08-03
 */
@Data
public class PostDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 推送岗位详情id
     */
    @TableId(type = IdType.AUTO)
    private Long postDetailsId;

    /**
     * 推送id
     */
    private Long postPushId;

    /**
     * 岗位名称
     */
    private String postName;

    private String rulePostName;

    /**
     * 岗位专业
     */
    private String postMajor;

    /**
     * 人数
     */
    private Integer postPeopleNum;

    /**
     * 性别
     */
    private String postSex;

    /**
     * 年龄
     */
    private String postAge;

    /**
     * 工期
     */
    private String workDay;

    /**
     * 对应岗位skuId
     */
    private Long rulePostId;

    private Long ruleClassifyId;

    /**
     * 发布价格
     */
    private BigDecimal price;

    /**
     * 岗位价格
     */
    private String postPrice;

    /**
     * 1待推送  2已推送  3未完成  4报名已满
     */
    private Integer status;

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


    private String education;

    @TableField(exist = false)
    private Integer num;

    public PostDetails() {}
}
