package cn.pluss.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 银盛二级商户省市区code
 * </p>
 *
 * @author crystal
 * @since 2022-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_pluss_sub_merc_code_ys")
public class SubMercCodeYs implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    /**
     * 编码
     */
    @TableField("code")
    private String code;


    /**
     * 名称
     */
    @TableField("name")
    private String name;


    /**
     * 上级code
     */
    @TableField("pCode")
    private String pCode;


    /**
     * 等级名称
     */
    @TableField("leveName")
    private String leveName;


    @TableField("remark")
    private String remark;


}