com.github.rexsheng.springboot.faster.system.entity.UserPost Maven / Gradle / Ivy
The newest version!
package com.github.rexsheng.springboot.faster.system.entity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.io.Serial;
/**
* 用户岗位表 实体类。
*
* @author shengxp
* @since 2024-04-07
*/
@Table(value = "sys_user_post")
public class UserPost implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 用户ID
*/
@Id
private Long userId;
/**
* 岗位ID
*/
@Id
private Integer postId;
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Integer getPostId() {
return postId;
}
public void setPostId(Integer postId) {
this.postId = postId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy