forked from mirrors/homebox
generate code
This commit is contained in:
parent
e5d8b098f1
commit
7fe9ae4f51
8 changed files with 19 additions and 170 deletions
|
@ -473,10 +473,6 @@ func init() {
|
|||
maintenanceentryDescCost := maintenanceentryFields[5].Descriptor()
|
||||
// maintenanceentry.DefaultCost holds the default value on creation for the cost field.
|
||||
maintenanceentry.DefaultCost = maintenanceentryDescCost.Default.(float64)
|
||||
// maintenanceentryDescRemindersEnabled is the schema descriptor for reminders_enabled field.
|
||||
maintenanceentryDescRemindersEnabled := maintenanceentryFields[6].Descriptor()
|
||||
// maintenanceentry.DefaultRemindersEnabled holds the default value on creation for the reminders_enabled field.
|
||||
maintenanceentry.DefaultRemindersEnabled = maintenanceentryDescRemindersEnabled.Default.(bool)
|
||||
// maintenanceentryDescID is the schema descriptor for id field.
|
||||
maintenanceentryDescID := maintenanceentryMixinFields0[0].Descriptor()
|
||||
// maintenanceentry.DefaultID holds the default value on creation for the id field.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue