Browse Source

timesheetRow: Author and ParentId are nullable

Dmitry Yu Okunev 5 years ago
parent
commit
cb44c95824
1 changed files with 2 additions and 2 deletions
  1. 2 2
      timesheet_row.go

+ 2 - 2
timesheet_row.go

@@ -19,8 +19,8 @@ type TimesheetRow struct {
 	TimeUseCode   string      `reform:"TimeUseCode"`
 	Days          int         `reform:"Days"`
 	Hours         *int        `reform:"Hours"`
-	Author        int         `reform:"Author"`
-	ParentId      int         `reform:"ParentId"`
+	Author        *int        `reform:"Author"`
+	ParentId      *int        `reform:"ParentId"`
 	TableId       *int        `reform:"TableId"`
 	TableState    int         `reform:"TableState"`
 	State         int         `reform:"State"`