com.seeyon.ctp.organization.bo
类 MemberPost

java.lang.Object
  继承者 com.seeyon.ctp.organization.bo.MemberPost
所有已实现的接口:
java.io.Serializable

public class MemberPost
extends java.lang.Object
implements java.io.Serializable

另请参见:
序列化表格

构造方法摘要
MemberPost()
           
MemberPost(V3xOrgRelationship rel)
           
 
方法摘要
static MemberPost createConcurrentPost(java.lang.Long memberId, java.lang.Long concurrentDeptId, java.lang.Long concurrentPostId, java.lang.Long concurrentLevelId, java.lang.Long concurrentAccountId, java.lang.Integer concurrentSortId, java.lang.String concurrentCode, java.lang.String conRoles)
          兼职
static MemberPost createMainPost(V3xOrgMember member)
           
static MemberPost createSecondPost(java.lang.Long memberId, java.lang.Long secondDeptId, java.lang.Long secondPostId, java.lang.Long mainAccountId, java.lang.Integer mainSortId)
          副岗
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
           
 java.lang.String getConRoles()
           
 java.lang.Long getDepId()
           
 java.lang.Long getDutyLevelId()
           
 java.lang.Long getLevelId()
           
 java.lang.Long getMemberId()
           
 java.lang.Long getOrgAccountId()
           
 java.lang.Long getPostId()
           
 java.lang.Long getSortId()
           
 OrgConstants.MemberPostType getType()
           
 int hashCode()
           
 void setCode(java.lang.String code)
           
 void setConRoles(java.lang.String conRoles)
           
 void setDepId(java.lang.Long depId)
           
 void setDutyLevelId(java.lang.Long dutyLevelId)
           
 void setLevelId(java.lang.Long levelId)
           
 void setMemberId(java.lang.Long memberId)
           
 void setOrgAccountId(java.lang.Long orgAccountId)
           
 void setPostId(java.lang.Long postId)
           
 void setSortId(java.lang.Long sortId)
           
 void setType(OrgConstants.MemberPostType type)
           
 V3xOrgRelationship toRelationship()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MemberPost

public MemberPost()

MemberPost

public MemberPost(V3xOrgRelationship rel)
方法详细信息

createMainPost

public static MemberPost createMainPost(V3xOrgMember member)

createSecondPost

public static MemberPost createSecondPost(java.lang.Long memberId,
                                          java.lang.Long secondDeptId,
                                          java.lang.Long secondPostId,
                                          java.lang.Long mainAccountId,
                                          java.lang.Integer mainSortId)
副岗

参数:
memberId -
secondDeptId - 副岗部门,不可以为null
secondPostId - 副岗岗位,不可以为null
mainAccountId - 副岗单位,同时也是主岗单位,不可以为null
mainSortId - 主岗排序号,一定要填
返回:

createConcurrentPost

public static MemberPost createConcurrentPost(java.lang.Long memberId,
                                              java.lang.Long concurrentDeptId,
                                              java.lang.Long concurrentPostId,
                                              java.lang.Long concurrentLevelId,
                                              java.lang.Long concurrentAccountId,
                                              java.lang.Integer concurrentSortId,
                                              java.lang.String concurrentCode,
                                              java.lang.String conRoles)
兼职

参数:
memberId -
concurrentDeptId - 兼职部门,可以为null
concurrentPostId - 兼职岗位,可以为null
concurrentLevelId - 兼职职务级别,可以为null
concurrentAccountId - 兼职单位,不可以为null
concurrentSortId - 兼职排序号,如果没有指定,就给-1
concurrentCode - 兼职编号
conRoles - 兼职所选的兼职角色
返回:

toRelationship

public V3xOrgRelationship toRelationship()

getMemberId

public java.lang.Long getMemberId()

setMemberId

public void setMemberId(java.lang.Long memberId)

getDepId

public java.lang.Long getDepId()

setDepId

public void setDepId(java.lang.Long depId)

getPostId

public java.lang.Long getPostId()

setPostId

public void setPostId(java.lang.Long postId)

getLevelId

public java.lang.Long getLevelId()

setLevelId

public void setLevelId(java.lang.Long levelId)

getDutyLevelId

public java.lang.Long getDutyLevelId()

setDutyLevelId

public void setDutyLevelId(java.lang.Long dutyLevelId)

getOrgAccountId

public java.lang.Long getOrgAccountId()

setOrgAccountId

public void setOrgAccountId(java.lang.Long orgAccountId)

getSortId

public java.lang.Long getSortId()

setSortId

public void setSortId(java.lang.Long sortId)

getType

public OrgConstants.MemberPostType getType()

setType

public void setType(OrgConstants.MemberPostType type)

getCode

public java.lang.String getCode()

setCode

public void setCode(java.lang.String code)

getConRoles

public java.lang.String getConRoles()

setConRoles

public void setConRoles(java.lang.String conRoles)

hashCode

public int hashCode()
覆盖:
java.lang.Object 中的 hashCode

equals

public boolean equals(java.lang.Object obj)
覆盖:
java.lang.Object 中的 equals