package com.dtok.entity;

import javax.persistence.*;
import java.io.Serializable;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @Description  
 * @Author  C.J
 * @Date 2024-03-08 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table ( name ="acc_role_permission" )
public class RolePermission implements Serializable {

	private static final long serialVersionUID =  2764553074228468177L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "id" )
	private Long id;

   	@Column(name = "role_code" )
	private String roleCode;

   	@Column(name = "pm_code" )
	private String pmCode;

}
