// Fields of the BaseMixin.
Fields of the BaseMixin.
// Fields of the BaseMixin .
func (BaseMixin) Fields() []ent.Field {
	return []ent.Field{
		field.Time("created_at").Default(time.Now).Immutable(),
		field.Time("updated_at").Default(time.Now).UpdateDefault(time.Now).Immutable(),
		field.Time("deleted_at").Optional().Nillable(),
	}
}
func ( BaseMixin ) Fields ( ) [ ] ent . Field { return [ ] ent . Field { field . Time ( " " ) . Default ( time . Now ) . Immutable ( ) , field . Time ( " " ) . Default ( time . Now ) . UpdateDefault ( time . Now ) . Immutable ( ) , field . Time ( " " ) . Optional ( ) . Nillable ( ) , } }
Fields of the BaseMixin.
Fields of the BaseMixin .