package com.hzs.common.domain.sale.wares;

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

/**
 * <p>
 *
 * </p>
 *
 * @author hzs
 * @since 2022-09-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_WARES_AUTHORITY")
@KeySequence("BD_WARES_AUTHORITY_SEQ")
public class BdWaresAuthority extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 主表主键
     */
    @TableField("PK_WARES")
    private Integer pkWares;

    /**
     * 商品权限类型
     */
    @TableField("AUTHORITY_TYPE")
    private Integer authorityType;

    /**
     * 用户主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 用户编号
     */
    @TableField("MEMBER_CODE")
    private String memberCode;
}
