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

com.wuyu.module.hunter.entity.ResumePair 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("resume_pair")
@VTable(tableName = "resume_pair", comment = "简历-键值信息")
public class ResumePair 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 = "type", comment = "键值类型", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("type")
    private Integer type;

    @VField(
        order = 10, column = "name", comment = "说明", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("name")
    private String name;

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

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

    @VField(
        order = 16, 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 = 18, 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;


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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy