Browse Source

Updated TimesheetRow

Dmitry Yu Okunev 4 years ago
parent
commit
3794a84a3a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      timesheet_row.go

+ 3 - 2
timesheet_row.go

@@ -15,10 +15,11 @@ type TimesheetRow struct {
 	ODate         extime.Date  `reform:"ODate"`
 	MonthYear     extime.Date  `reform:"MonthYear"`
 	EmpGUID       int          `reform:"EmpGuid"`
+	PersonId      int          `reform:"person_id"`
 	StfCardId     int          `reform:"StaffCardId"`
 	TimeUseCode   string       `reform:"TimeUseCode"`
-	Days          int          `reform:"Days"`
-	Hours         *int         `reform:"Hours"`
+	Days          float32      `reform:"Days"`
+	Hours         *float32     `reform:"Hours"`
 	Author        *int         `reform:"Author"`
 	ParentId      *int         `reform:"ParentId"`
 	TableId       *int         `reform:"TableId"`