package com.czg.account.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import java.io.Serial;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 店铺员工权限关联表 实体类。
 *
 * @author zs
 * @since 2025-02-18
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@Table("tb_shop_staff_permission")
public class ShopStaffPermission implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 权限ID
     */
    private Long permissionId;

    /**
     * 员工ID
     */
    private Long staffId;

    /**
     * 店铺ID
     */
    private Long shopId;

    /**
     * 用户ID
     */
    private Long userId;

}
