All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rexsheng.springboot.faster.system.user.infrastructure.UserDO Maven / Gradle / Ivy

The newest version!
package com.github.rexsheng.springboot.faster.system.user.infrastructure;

import com.github.rexsheng.springboot.faster.system.entity.User;
import com.github.rexsheng.springboot.faster.system.entity.UserPost;
import com.mybatisflex.annotation.RelationOneToMany;

import java.util.List;

public class UserDO extends User {

    @RelationOneToMany(selfField="id",targetField = "userId")
    private List postList;

    public List getPostList() {
        return postList;
    }

    public void setPostList(List postList) {
        this.postList = postList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy