package com.sqx.modules.intention.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author www.javacoder.top
 * @since 2023-01-13
 */
@Data
public class Intention implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 意向id
     */
    @TableId(value = "intention_id", type = IdType.AUTO)
    private Long intentionId;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户昵称
     */
    private String userName;
    /**
     * 职位id
     */
    private Long ruleClassifyId;

    /**
     * 职位名称
     */
    private String ruleClassifyName;

    /**
     * 期望城市
     */
    private String citys;

    /**
     * 薪资范围
     */
    private String salaryRange;

    /**
     * 行业
     */
    private String industry;

    /**
     * 工作性质
     */
    private String postType;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     *行业id
     */
    private Long industryId;
    /**
     *行业上级id
     */
    private Long industryOneId;
    /**
     *岗位一级
     */
    private Long classifyOneId;
    /**
     *岗位二级id
     */
    private Long classifyTwoId;
 /**
     *是否是默认 0否 1是
     */
    private Integer isDefault;
    private Integer minSalary;
    private Integer maxSalary;

}
