package jnpf.entity.qualifications;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 任职资格标准
 *
 * @author Flynn
 * @create 2024-03-04
 */

@EqualsAndHashCode(callSuper = true)
@TableName(value = "ftb_qualifications")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Qualifications extends SuperEntity<String> implements Serializable {

    private static final long serialVersionUID = 2971892183373567173L;

    /**
     * 岗位id
     */
    @TableField(value = "F_PositionId")
    private String positionId;

    /**
     * 岗位EnCode
     */
    @TableField(value = "F_PositionEncode")
    private String positionEncode;

    /**
     * 职级id
     */
    @TableField(value = "F_PositionGradesId")
    private String positionGradesId;

    /**
     * 描述
     */
    @TableField(value = "F_Description")
    private String description;

    /**
     * 排序
     */
    @TableField(value = "F_SortCode")
    private Long sortCode;

    /**
     * 扩展属性
     */
    @TableField(value = "F_PropertyJson")
    private String propertyJson;

    public Qualifications(String positionId, String positionEncode, String positionGradesId) {
        this.positionId = positionId;
        this.positionEncode = positionEncode;
        this.positionGradesId = positionGradesId;
    }
}
