package jnpf.entity.qualifications;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 任职资格与标准字段注释项关联表
 *
 * @author Flynn
 * @create 2024-03-04
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ftb_qualifications_field_item_relation")
public class QualificationsFieldItemRelation extends SuperEntity<String> implements Serializable {

    private static final long serialVersionUID = 8333614703171275885L;


    /**
     * 任职资格标准id
     */
    @TableField(value = "F_QualificationsId")
    private String qualificationsId;

    /**
     * 标准字段ID
     */
    @TableField(value = "F_FieldId")
    private String fieldId;

    /**
     * 注释字段Id
     */
    @TableField(value = "F_ItemId")
    private String itemId;

    /**
     * 注释字段内容
     */
    @TableField(value = "F_Content")
    private String content;

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

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

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

    public QualificationsFieldItemRelation(String qualificationsId, String fieldId, String itemId, String content) {
        this.qualificationsId = qualificationsId;
        this.fieldId = fieldId;
        this.itemId = itemId;
        this.content = content;
    }
}
