package jnpf.model.franchisee.po;

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;

/**
 * 加盟商自定义字段值实体
 * 通过 franchiseeId 关联加盟商主表数据。
 */
@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ftb_franchisee_custom_field")
public class FranchiseeCustomFieldEntity extends SuperEntity.SuperCUBaseEntity<String> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 加盟商ID
     */
    @TableField(value = "F_FranchiseeId")
    private String franchiseeId;

    /**
     * 字段名称
     */
    @TableField(value = "F_FieldName")
    private String fieldName;

    /**
     * 字段值
     */
    @TableField(value = "F_FieldValue")
    private String fieldValue;

    /**
     * 排序
     */
    @TableField(value = "F_Sorts")
    private Long sorts;

    /**
     * 有效标识
     */
    @TableField(value = "F_EnabledMark")
    private Integer enabledMark;
}
