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

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

package com.wuyu.module.hunter.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

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;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("firm")
@VTable(tableName = "firm", comment = "企业基础信息")
public class Firm 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 = "parent_id", comment = "父级编号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("parent_id")
    private Long parentId;

    @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 = "alias", comment = "公司别名", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("alias")
    private String alias;

    @VField(
        order = 14, column = "index", comment = "公司主页", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("index")
    private String index;

    @VField(
        order = 16, column = "logo", comment = "企业logo", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("logo")
    private String logo;

    @VField(
        order = 18, column = "signature", comment = "公司签名", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("signature")
    private String signature;

    @VField(
        order = 20, column = "score", comment = "企业评分", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("score")
    private Integer score;

    @VField(
        order = 22, column = "tags", comment = "公司标签: 如五险一金等", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("tags")
    private String tags;

    @VField(
        order = 24, column = "scale", comment = "规模类型", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("scale")
    private Integer scale;

    @VField(
        order = 26, column = "invest", comment = "融资类型", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("invest")
    private Integer invest;

    @VField(
        order = 28, column = "industry_id", comment = "融资类型自定义", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("industry_id")
    private Long industryId;

    @VField(
        order = 30, column = "industry_tag", comment = "所属行业自定义", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("industry_tag")
    private String industryTag;

    @VField(
        order = 32, column = "introduce", comment = "公司介绍", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("introduce")
    private String introduce;

    @VField(
        order = 34, column = "credit_code", comment = "企业三合一信用码", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("credit_code")
    private String creditCode;

    @VField(
        order = 36, column = "licence_code", comment = "营业执照地址/工商注册号", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("licence_code")
    private String licenceCode;

    @VField(
        order = 38, column = "organize_code", comment = "组织结构码", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("organize_code")
    private String organizeCode;

    @VField(
        order = 40, column = "audit", comment = "1:已审核 5 待审核", primary = false,
        vHtml = @VHtml(inList = true, inForm = true, inQuery = false, type = VHtml.Type.TEXT)
    )
    @TableField("audit")
    private Integer audit;

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

    @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