package com.sysu.admin.controller.crop.executor_table;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * 联合主键
 */
@Data
@Accessors(fluent = true)
@Embeddable
public class PKRP implements Serializable{


    /**
     * 用户id
     */
    @Column
    private Long executor;

    /**
     * 表名
     */
    @Column()
    private String tableName;

}
