package com.sqx.modules.firstLogin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.joda.time.DateTime;

import java.io.Serializable;
import java.util.List;

@Data
public class PostSkill implements Serializable {
    /**
     * 岗位技能id
     */
    @TableId(value = "post_skill_id", type = IdType.AUTO)
    private Long postSkillId;

    /**
     * 岗位技能名称
     */
    @TableField(condition = SqlCondition.LIKE)
    private String postSkillName;

    /**
     * 是否启用 0不启用 1启用
     */
    private Integer isEnable;

    /**
     * 上级id
     */
    private Long parentId;

    /**
     * 排序
     */
    private  Integer sort;
    /**
     * 更新时间
     */
    private DateTime updateTime;

    private Integer ruleClassifyId;
    @TableField(exist = false)
    private List<PostSkill> childrenList;
}
