forked from mirrors/homebox
generate code
This commit is contained in:
parent
e5d8b098f1
commit
7fe9ae4f51
8 changed files with 19 additions and 170 deletions
|
@ -96,11 +96,6 @@ func Cost(v float64) predicate.MaintenanceEntry {
|
|||
return predicate.MaintenanceEntry(sql.FieldEQ(FieldCost, v))
|
||||
}
|
||||
|
||||
// RemindersEnabled applies equality check predicate on the "reminders_enabled" field. It's identical to RemindersEnabledEQ.
|
||||
func RemindersEnabled(v bool) predicate.MaintenanceEntry {
|
||||
return predicate.MaintenanceEntry(sql.FieldEQ(FieldRemindersEnabled, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.MaintenanceEntry {
|
||||
return predicate.MaintenanceEntry(sql.FieldEQ(FieldCreatedAt, v))
|
||||
|
@ -481,16 +476,6 @@ func CostLTE(v float64) predicate.MaintenanceEntry {
|
|||
return predicate.MaintenanceEntry(sql.FieldLTE(FieldCost, v))
|
||||
}
|
||||
|
||||
// RemindersEnabledEQ applies the EQ predicate on the "reminders_enabled" field.
|
||||
func RemindersEnabledEQ(v bool) predicate.MaintenanceEntry {
|
||||
return predicate.MaintenanceEntry(sql.FieldEQ(FieldRemindersEnabled, v))
|
||||
}
|
||||
|
||||
// RemindersEnabledNEQ applies the NEQ predicate on the "reminders_enabled" field.
|
||||
func RemindersEnabledNEQ(v bool) predicate.MaintenanceEntry {
|
||||
return predicate.MaintenanceEntry(sql.FieldNEQ(FieldRemindersEnabled, v))
|
||||
}
|
||||
|
||||
// HasItem applies the HasEdge predicate on the "item" edge.
|
||||
func HasItem() predicate.MaintenanceEntry {
|
||||
return predicate.MaintenanceEntry(func(s *sql.Selector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue