/// <summary> /// Initializes a new instance of the SCGDocument class /// </summary> /// <param name="subject">Initial <see cref="SCGDocument.Subject" /> value</param> /// <param name="memo">Initial <see cref="SCGDocument.Memo" /> value</param> /// <param name="companyID">Initial <see cref="SCGDocument.CompanyID" /> value</param> /// <param name="requesterID">Initial <see cref="SCGDocument.RequesterID" /> value</param> /// <param name="creatorID">Initial <see cref="SCGDocument.CreatorID" /> value</param> /// <param name="receiverID">Initial <see cref="SCGDocument.ReceiverID" /> value</param> /// <param name="approverID">Initial <see cref="SCGDocument.ApproverID" /> value</param> public SCGDocument(string subject, string memo, DateTime?documentDate, SCG.DB.DTO.DbCompany companyID, SS.SU.DTO.SuUser requesterID, SS.SU.DTO.SuUser creatorID, SS.SU.DTO.SuUser receiverID, SS.SU.DTO.SuUser approverID) { this.subject = subject; this.memo = memo; this.companyID = companyID; this.requesterID = requesterID; this.creatorID = creatorID; this.receiverID = receiverID; this.approverID = approverID; this.documentDate = documentDate; }
/// <summary> /// Initializes a new instance of the SuUser class /// </summary> /// <param name="employeeCode">Initial <see cref="SuUser.EmployeeCode" /> value</param> /// <param name="companyCode">Initial <see cref="SuUser.CompanyCode" /> value</param> /// <param name="costCenterCode">Initial <see cref="SuUser.CostCenterCode" /> value</param> /// <param name="locationCode">Initial <see cref="SuUser.LocationCode" /> value</param> /// <param name="userName">Initial <see cref="SuUser.UserName" /> value</param> /// <param name="password">Initial <see cref="SuUser.Password" /> value</param> /// <param name="setFailTime">Initial <see cref="SuUser.SetFailTime" /> value</param> /// <param name="failTime">Initial <see cref="SuUser.FailTime" /> value</param> /// <param name="changePassword">Initial <see cref="SuUser.ChangePassword" /> value</param> /// <param name="allowPasswordChangeDate">Initial <see cref="SuUser.AllowPasswordChangeDate" /> value</param> /// <param name="passwordExpiryDate">Initial <see cref="SuUser.PasswordExpiryDate" /> value</param> /// <param name="peopleID">Initial <see cref="SuUser.PeopleID" /> value</param> /// <param name="employeeName">Initial <see cref="SuUser.EmployeeName" /> value</param> /// <param name="sectionName">Initial <see cref="SuUser.SectionName" /> value</param> /// <param name="personalLevel">Initial <see cref="SuUser.PersonalLevel" /> value</param> /// <param name="personalDescription">Initial <see cref="SuUser.PersonalDescription" /> value</param> /// <param name="personalGroup">Initial <see cref="SuUser.PersonalGroup" /> value</param> /// <param name="personalLevelGroupDescription">Initial <see cref="SuUser.PersonalLevelGroupDescription" /> value</param> /// <param name="positionName">Initial <see cref="SuUser.PositionName" /> value</param> /// <param name="supervisor">Initial <see cref="SuUser.Supervisor" /> value</param> /// <param name="phoneNo">Initial <see cref="SuUser.PhoneNo" /> value</param> /// <param name="mobilePhoneNo">Initial <see cref="SuUser.MobilePhoneNo" /> value</param> /// <param name="sMSApproveOrReject">Initial <see cref="SuUser.SMSApproveOrReject" /> value</param> /// <param name="sMSReadyToReceive">Initial <see cref="SuUser.SMSReadyToReceive" /> value</param> /// <param name="hireDate">Initial <see cref="SuUser.HireDate" /> value</param> /// <param name="approvalFlag">Initial <see cref="SuUser.ApprovalFlag" /> value</param> /// <param name="email">Initial <see cref="SuUser.Email" /> value</param> /// <param name="fromEHr">Initial <see cref="SuUser.FromEHr" /> value</param> /// <param name="comment">Initial <see cref="SuUser.Comment" /> value</param> /// <param name="updBy">Initial <see cref="SuUser.UpdBy" /> value</param> /// <param name="updDate">Initial <see cref="SuUser.UpdDate" /> value</param> /// <param name="creBy">Initial <see cref="SuUser.CreBy" /> value</param> /// <param name="creDate">Initial <see cref="SuUser.CreDate" /> value</param> /// <param name="updPgm">Initial <see cref="SuUser.UpdPgm" /> value</param> /// <param name="rowVersion">Initial <see cref="SuUser.RowVersion" /> value</param> /// <param name="active">Initial <see cref="SuUser.Active" /> value</param> /// <param name="language">Initial <see cref="SuUser.Language" /> value</param> /// <param name="company">Initial <see cref="SuUser.Company" /> value</param> /// <param name="costCenter">Initial <see cref="SuUser.CostCenter" /> value</param> /// <param name="locationID">Initial <see cref="SuUser.LocationID" /> value</param> public SuUser(string employeeCode, string companyCode, string costCenterCode, string locationCode, string userName, string password, short setFailTime, short failTime, bool changePassword, DateTime?allowPasswordChangeDate, DateTime?passwordExpiryDate, string peopleID, string employeeName, string sectionName, string personalLevel, string personalDescription, string personalGroup, string personalLevelGroupDescription, string positionName, long supervisor, string phoneNo, string mobilePhoneNo, bool sMSApproveOrReject, bool sMSReadyToReceive, DateTime?hireDate, bool approvalFlag, string email, bool fromEHr, string comment, long updBy, DateTime updDate, long creBy, DateTime creDate, string updPgm, Byte[] rowVersion, bool active, SS.DB.DTO.DbLanguage language, SCG.DB.DTO.DbCompany company, SCG.DB.DTO.DbCostCenter costCenter, SCG.DB.DTO.DbLocation locationID) { this.employeeCode = employeeCode; this.companyCode = companyCode; this.costCenterCode = costCenterCode; this.locationCode = locationCode; this.userName = userName; this.password = password; this.setFailTime = setFailTime; this.failTime = failTime; this.changePassword = changePassword; this.allowPasswordChangeDate = allowPasswordChangeDate; this.passwordExpiryDate = passwordExpiryDate; this.peopleID = peopleID; this.employeeName = employeeName; this.sectionName = sectionName; this.personalLevel = personalLevel; this.personalDescription = personalDescription; this.personalGroup = personalGroup; this.personalLevelGroupDescription = personalLevelGroupDescription; this.positionName = positionName; this.supervisor = supervisor; this.phoneNo = phoneNo; this.mobilePhoneNo = mobilePhoneNo; this.sMSApproveOrReject = sMSApproveOrReject; this.sMSReadyToReceive = sMSReadyToReceive; this.hireDate = hireDate; this.approvalFlag = approvalFlag; this.email = email; this.fromEHr = fromEHr; this.comment = comment; this.updBy = updBy; this.updDate = updDate; this.creBy = creBy; this.creDate = creDate; this.updPgm = updPgm; this.rowVersion = rowVersion; this.active = active; this.language = language; this.company = company; this.costCenter = costCenter; this.locationID = locationID; }