mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-09 12:30:07 +08:00
46 lines
757 B
Java
46 lines
757 B
Java
package com.jsowell.system.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
/**
|
|
* 用户和岗位关联 sys_user_post
|
|
*
|
|
* @author jsowell
|
|
*/
|
|
public class SysUserPost {
|
|
/**
|
|
* 用户ID
|
|
*/
|
|
private Long userId;
|
|
|
|
/**
|
|
* 岗位ID
|
|
*/
|
|
private Long postId;
|
|
|
|
public Long getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(Long userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public Long getPostId() {
|
|
return postId;
|
|
}
|
|
|
|
public void setPostId(Long postId) {
|
|
this.postId = postId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
|
.append("userId", getUserId())
|
|
.append("postId", getPostId())
|
|
.toString();
|
|
}
|
|
}
|