Class AllOrgModel
任意選
Inheritance
System.Object
AllOrgModel
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ede.Uofx.PubApi.Sdk.NetStd.Helpers
Assembly: Ede.Uofx.PubApi.Sdk.NetStd.dll
Syntax
public class AllOrgModel
Properties
View SourceDept
部門
Declaration
public DeptModel Dept { get; set; }
Property Value
Type | Description |
---|---|
DeptModel |
DeptSupervisor
部門代碼 (指定部門主管)
Declaration
public string DeptSupervisor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Employee
員工
Declaration
public AccountModel Employee { get; set; }
Property Value
Type | Description |
---|---|
AccountModel |
ItemType
類型
Declaration
public UserSetItemType ItemType { get; set; }
Property Value
Type | Description |
---|---|
UserSetItemType |
JobFuncCode
職務代碼
Declaration
public string JobFuncCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
JobTitleCode
職稱代碼
Declaration
public string JobTitleCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceSetDept(String, Boolean)
部門
Declaration
public AllOrgModel SetDept(string code, bool containsChildren = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | 部門代碼 |
System.Boolean | containsChildren | 是否包含子部門 |
Returns
Type | Description |
---|---|
AllOrgModel |
SetDeptEmployee(String, String, String)
部門人員
Declaration
public AllOrgModel SetDeptEmployee(string account, string deptCode, string corpCode = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | account | 人員帳號 |
System.String | deptCode | 部門代碼,此人員所屬的部門 |
System.String | corpCode | 申請者原公司代碼(如為其他公司兼職才需要填) |
Returns
Type | Description |
---|---|
AllOrgModel |
SetDeptJobFunc(String, String)
部門 + 職務
Declaration
public AllOrgModel SetDeptJobFunc(string deptCode, string jobFuncCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | deptCode | 部門代碼 |
System.String | jobFuncCode | 職務代碼 |
Returns
Type | Description |
---|---|
AllOrgModel |
SetDeptJobTitle(String, String)
部門 + 職稱
Declaration
public AllOrgModel SetDeptJobTitle(string deptCode, string jobTitleCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | deptCode | 部門代碼 |
System.String | jobTitleCode | 職稱代碼 |
Returns
Type | Description |
---|---|
AllOrgModel |
SetDeptSupervisor(String)
部門主管
Declaration
public AllOrgModel SetDeptSupervisor(string deptCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | deptCode | 部門代碼 |
Returns
Type | Description |
---|---|
AllOrgModel |
SetJobFunction(String)
職務
Declaration
public AllOrgModel SetJobFunction(string jobFuncCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | jobFuncCode | 職務代碼 |
Returns
Type | Description |
---|---|
AllOrgModel |
SetJobTitle(String)
職稱
Declaration
public AllOrgModel SetJobTitle(string jobTitleCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | jobTitleCode | 職稱代碼 |
Returns
Type | Description |
---|---|
AllOrgModel |