コード例 #1
0
        public virtual bool Init(string currentPosition, double?currentSalaryPerHour, string staffID, string staffStatus, double?workingHours, string description, string occupation)
        {
            this.currentPosition      = currentPosition;
            this.currentSalaryPerHour = currentSalaryPerHour;
            this.staffID      = staffID;
            this.staffStatus  = staffStatus;
            this.workingHours = workingHours;
            this.Occupation   = occupation;
            this.Description  = description;

            accountInfo = new StaffAccount();

            return(true);
        }
コード例 #2
0
 public bool SetAccountInfo(StaffAccount account)
 {
     accountInfo = account;
     return(true);
 }