package com.czg.account.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户角色关联 实体类。
 *
 * @author Administrator
 * @since 2025-02-10
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@Table("sys_users_roles")
public class SysUsersRoles implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 角色ID
     */
    private Long roleId;

}
