package com.hzs.common.domain.vertex;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 体系配置
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_VERTEX")
@KeySequence("BD_VERTEX_SEQ")
public class BdVertex extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 体系名称
     */
    @TableField("VERTEX_NAME")
    private String vertexName;

    /**
     * 上级ID
     */
    @TableField("PK_PARENT")
    private Integer pkParent;

    /**
     * 序号
     */
    @TableField("SORT")
    private Integer sort;


    /**
     * 系统类型（2=新零售，3=美业）
     */
    @TableField("SYSTEM_TYPE")
    private Integer systemType;

    @TableField("REGION_VERTEX_PK_ID")
    private Long regionVertexPkId;

    @TableField("SHARE_POSTER_IMAGE")
    private String sharePosterImage;
}
