All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wuyu.module.hunter.entity.Recruit Maven / Gradle / Ivy

package com.wuyu.module.hunter.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.github.dennisit.vplus.core.anno.html.VHtml;
import com.github.dennisit.vplus.core.anno.table.VField;
import com.github.dennisit.vplus.core.anno.table.VTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recruit")
@VTable(tableName = "recruit", comment = "企业招聘信息")
public class Recruit extends Model  {

    private static final long serialVersionUID = 1L;

    @VField(
        order = 2, column = "id", comment = "自增主键", primary = true,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("id")
    private Long id;

    @VField(
        order = 4, column = "uuid", comment = "全局唯一键", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("uuid")
    private String uuid;

    @VField(
        order = 6, column = "user_id", comment = "记录创建人", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("user_id")
    private Long userId;

    @VField(
        order = 8, column = "firm_id", comment = "所属公司编号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("firm_id")
    private Long firmId;

    @VField(
        order = 10, column = "firm_name", comment = "所属公司名称(支持公司不存在是用户自定义)", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("firm_name")
    private String firmName;

    @VField(
        order = 12, column = "job_id", comment = "职位类型编号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("job_id")
    private Long jobId;

    @VField(
        order = 14, column = "job_name", comment = "职位名称扩展名称", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("job_name")
    private String jobName;

    @VField(
        order = 16, column = "city_id", comment = "企业办公地方编号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("city_id")
    private Long cityId;

    @VField(
        order = 18, column = "city_name", comment = "", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("city_name")
    private Integer cityName;

    @VField(
        order = 20, column = "city_address", comment = "企业办公地方文本串", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("city_address")
    private String cityAddress;

    @VField(
        order = 22, column = "recruit_num", comment = "招聘人数 -1标识不限", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("recruit_num")
    private Integer recruitNum;

    @VField(
        order = 24, column = "work_type", comment = "工作性质 1社招 5 校招 10实习", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("work_type")
    private Integer workType;

    @VField(
        order = 26, column = "work_edu", comment = "学历要求类型编号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("work_edu")
    private Integer workEdu;

    @VField(
        order = 28, column = "work_wage", comment = "工资区间最低值", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("work_wage")
    private Integer workWage;

    @VField(
        order = 30, column = "work_year", comment = "工龄类型编号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("work_year")
    private Integer workYear;

    @VField(
        order = 32, column = "demand_tags", comment = "技能要求标签", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("demand_tags")
    private String demandTags;

    @VField(
        order = 34, column = "afford_tags", comment = "公司/岗位福利标签", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("afford_tags")
    private String affordTags;

    @VField(
        order = 36, column = "duties", comment = "工作职责", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("duties")
    private String duties;

    @VField(
        order = 38, column = "from", comment = "数据来源1标识站内", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("from")
    private Integer from;

    @VField(
        order = 40, column = "sort", comment = "", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("sort")
    private Integer sort;

    @VField(
        order = 42, column = "expire_time", comment = "招聘信息过期时间", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.DATETIME)
    )
    @TableField("expire_time")
    private java.util.Date expireTime;

    @VField(
        order = 44, column = "create_time", comment = "创建时间", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.DATETIME)
    )
    @TableField("create_time")
    private java.util.Date createTime;

    @VField(
        order = 46, column = "update_time", comment = "更新时间", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.DATETIME)
    )
    @TableField("update_time")
    private java.util.Date updateTime;

    @VField(
        order = 48, column = "enabled", comment = "有效性", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("enabled")
    private Integer enabled;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy