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 2023-09-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("BD_WARES_AUTHORIZE_SEQ")
@TableName("BD_WARES_AUTHORIZE")
public class BdWaresAuthorize extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 0 普通用户权限 1 报单中心权限 2 服务中心权限
     */
    @TableField("VALUE")
    private Integer value;

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


}
