func IDLTE(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.LTE(s.C(FieldID), id))
	})
}
IDLTE applies the LTE predicate on the ID field.
package messagewithenum
import (
	"entgo.io/contrib/entproto/internal/entprototest/ent/predicate"
	"entgo.io/ent/dialect/sql"
)
func ID(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.EQ(s.C(FieldID), id))
	})
}
func IDEQ(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.EQ(s.C(FieldID), id))
	})
}
func IDNEQ(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.NEQ(s.C(FieldID), id))
	})
}
func IDIn(ids ...int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		if len(ids) == 0 {
			s.Where(sql.False())
			return
		}
		v := make([]interface{}, len(ids))
		for i := range v {
			v[i] = ids[i]
		}
		s.Where(sql.In(s.C(FieldID), v...))
	})
}
func IDNotIn(ids ...int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		if len(ids) == 0 {
			s.Where(sql.False())
			return
		}
		v := make([]interface{}, len(ids))
		for i := range v {
			v[i] = ids[i]
		}
		s.Where(sql.NotIn(s.C(FieldID), v...))
	})
}
func IDGT(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.GT(s.C(FieldID), id))
	})
}
func IDGTE(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.GTE(s.C(FieldID), id))
	})
}
func IDLT(id int) predicate.MessageWithEnum {
	return predicate.MessageWithEnum(func(s *sql.Selector) {
		s.Where(sql.LT(s.C(FieldID), id))
	})
}