shop

package
v0.0.0-...-31c84d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the shop type in the database.
	Label = "shop"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFloorID holds the string denoting the floor_id field in the database.
	FieldFloorID = "floor_id"
	// FieldRoomNum holds the string denoting the room_num field in the database.
	FieldRoomNum = "room_num"
	// FieldLayer holds the string denoting the layer field in the database.
	FieldLayer = "layer"
	// FieldBuiltUpArea holds the string denoting the built_up_area field in the database.
	FieldBuiltUpArea = "built_up_area"
	// FieldCommunityID holds the string denoting the community_id field in the database.
	FieldCommunityID = "community_id"
	// FieldFeeRate holds the string denoting the fee_rate field in the database.
	FieldFeeRate = "fee_rate"
	// FieldRoomArea holds the string denoting the room_area field in the database.
	FieldRoomArea = "room_area"
	// FieldRent holds the string denoting the rent field in the database.
	FieldRent = "rent"
	// FieldRemark holds the string denoting the remark field in the database.
	FieldRemark = "remark"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// Table holds the table name of the shop in the database.
	Table = "shops"
)

Variables

Columns holds all SQL columns for shop fields.

Functions

func And

func And(predicates ...predicate.Shop) predicate.Shop

And groups predicates with the AND operator between them.

func BuiltUpArea

func BuiltUpArea(v float32) predicate.Shop

BuiltUpArea applies equality check predicate on the "built_up_area" field. It's identical to BuiltUpAreaEQ.

func BuiltUpAreaEQ

func BuiltUpAreaEQ(v float32) predicate.Shop

BuiltUpAreaEQ applies the EQ predicate on the "built_up_area" field.

func BuiltUpAreaGT

func BuiltUpAreaGT(v float32) predicate.Shop

BuiltUpAreaGT applies the GT predicate on the "built_up_area" field.

func BuiltUpAreaGTE

func BuiltUpAreaGTE(v float32) predicate.Shop

BuiltUpAreaGTE applies the GTE predicate on the "built_up_area" field.

func BuiltUpAreaIn

func BuiltUpAreaIn(vs ...float32) predicate.Shop

BuiltUpAreaIn applies the In predicate on the "built_up_area" field.

func BuiltUpAreaLT

func BuiltUpAreaLT(v float32) predicate.Shop

BuiltUpAreaLT applies the LT predicate on the "built_up_area" field.

func BuiltUpAreaLTE

func BuiltUpAreaLTE(v float32) predicate.Shop

BuiltUpAreaLTE applies the LTE predicate on the "built_up_area" field.

func BuiltUpAreaNEQ

func BuiltUpAreaNEQ(v float32) predicate.Shop

BuiltUpAreaNEQ applies the NEQ predicate on the "built_up_area" field.

func BuiltUpAreaNotIn

func BuiltUpAreaNotIn(vs ...float32) predicate.Shop

BuiltUpAreaNotIn applies the NotIn predicate on the "built_up_area" field.

func CommunityID

func CommunityID(v int) predicate.Shop

CommunityID applies equality check predicate on the "community_id" field. It's identical to CommunityIDEQ.

func CommunityIDEQ

func CommunityIDEQ(v int) predicate.Shop

CommunityIDEQ applies the EQ predicate on the "community_id" field.

func CommunityIDGT

func CommunityIDGT(v int) predicate.Shop

CommunityIDGT applies the GT predicate on the "community_id" field.

func CommunityIDGTE

func CommunityIDGTE(v int) predicate.Shop

CommunityIDGTE applies the GTE predicate on the "community_id" field.

func CommunityIDIn

func CommunityIDIn(vs ...int) predicate.Shop

CommunityIDIn applies the In predicate on the "community_id" field.

func CommunityIDLT

func CommunityIDLT(v int) predicate.Shop

CommunityIDLT applies the LT predicate on the "community_id" field.

func CommunityIDLTE

func CommunityIDLTE(v int) predicate.Shop

CommunityIDLTE applies the LTE predicate on the "community_id" field.

func CommunityIDNEQ

func CommunityIDNEQ(v int) predicate.Shop

CommunityIDNEQ applies the NEQ predicate on the "community_id" field.

func CommunityIDNotIn

func CommunityIDNotIn(vs ...int) predicate.Shop

CommunityIDNotIn applies the NotIn predicate on the "community_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Shop

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Shop

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Shop

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Shop

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Shop

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Shop

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Shop

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Shop

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Shop

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Shop

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Shop

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Shop

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Shop

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Shop

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Shop

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Shop

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Shop

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Shop

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func FeeRate

func FeeRate(v float32) predicate.Shop

FeeRate applies equality check predicate on the "fee_rate" field. It's identical to FeeRateEQ.

func FeeRateEQ

func FeeRateEQ(v float32) predicate.Shop

FeeRateEQ applies the EQ predicate on the "fee_rate" field.

func FeeRateGT

func FeeRateGT(v float32) predicate.Shop

FeeRateGT applies the GT predicate on the "fee_rate" field.

func FeeRateGTE

func FeeRateGTE(v float32) predicate.Shop

FeeRateGTE applies the GTE predicate on the "fee_rate" field.

func FeeRateIn

func FeeRateIn(vs ...float32) predicate.Shop

FeeRateIn applies the In predicate on the "fee_rate" field.

func FeeRateLT

func FeeRateLT(v float32) predicate.Shop

FeeRateLT applies the LT predicate on the "fee_rate" field.

func FeeRateLTE

func FeeRateLTE(v float32) predicate.Shop

FeeRateLTE applies the LTE predicate on the "fee_rate" field.

func FeeRateNEQ

func FeeRateNEQ(v float32) predicate.Shop

FeeRateNEQ applies the NEQ predicate on the "fee_rate" field.

func FeeRateNotIn

func FeeRateNotIn(vs ...float32) predicate.Shop

FeeRateNotIn applies the NotIn predicate on the "fee_rate" field.

func FloorID

func FloorID(v string) predicate.Shop

FloorID applies equality check predicate on the "floor_id" field. It's identical to FloorIDEQ.

func FloorIDContains

func FloorIDContains(v string) predicate.Shop

FloorIDContains applies the Contains predicate on the "floor_id" field.

func FloorIDContainsFold

func FloorIDContainsFold(v string) predicate.Shop

FloorIDContainsFold applies the ContainsFold predicate on the "floor_id" field.

func FloorIDEQ

func FloorIDEQ(v string) predicate.Shop

FloorIDEQ applies the EQ predicate on the "floor_id" field.

func FloorIDEqualFold

func FloorIDEqualFold(v string) predicate.Shop

FloorIDEqualFold applies the EqualFold predicate on the "floor_id" field.

func FloorIDGT

func FloorIDGT(v string) predicate.Shop

FloorIDGT applies the GT predicate on the "floor_id" field.

func FloorIDGTE

func FloorIDGTE(v string) predicate.Shop

FloorIDGTE applies the GTE predicate on the "floor_id" field.

func FloorIDHasPrefix

func FloorIDHasPrefix(v string) predicate.Shop

FloorIDHasPrefix applies the HasPrefix predicate on the "floor_id" field.

func FloorIDHasSuffix

func FloorIDHasSuffix(v string) predicate.Shop

FloorIDHasSuffix applies the HasSuffix predicate on the "floor_id" field.

func FloorIDIn

func FloorIDIn(vs ...string) predicate.Shop

FloorIDIn applies the In predicate on the "floor_id" field.

func FloorIDLT

func FloorIDLT(v string) predicate.Shop

FloorIDLT applies the LT predicate on the "floor_id" field.

func FloorIDLTE

func FloorIDLTE(v string) predicate.Shop

FloorIDLTE applies the LTE predicate on the "floor_id" field.

func FloorIDNEQ

func FloorIDNEQ(v string) predicate.Shop

FloorIDNEQ applies the NEQ predicate on the "floor_id" field.

func FloorIDNotIn

func FloorIDNotIn(vs ...string) predicate.Shop

FloorIDNotIn applies the NotIn predicate on the "floor_id" field.

func ID

func ID(id int) predicate.Shop

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Shop

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Shop

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Shop

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Shop

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Shop

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Shop

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Shop

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Shop

IDNotIn applies the NotIn predicate on the ID field.

func Layer

func Layer(v int) predicate.Shop

Layer applies equality check predicate on the "layer" field. It's identical to LayerEQ.

func LayerEQ

func LayerEQ(v int) predicate.Shop

LayerEQ applies the EQ predicate on the "layer" field.

func LayerGT

func LayerGT(v int) predicate.Shop

LayerGT applies the GT predicate on the "layer" field.

func LayerGTE

func LayerGTE(v int) predicate.Shop

LayerGTE applies the GTE predicate on the "layer" field.

func LayerIn

func LayerIn(vs ...int) predicate.Shop

LayerIn applies the In predicate on the "layer" field.

func LayerLT

func LayerLT(v int) predicate.Shop

LayerLT applies the LT predicate on the "layer" field.

func LayerLTE

func LayerLTE(v int) predicate.Shop

LayerLTE applies the LTE predicate on the "layer" field.

func LayerNEQ

func LayerNEQ(v int) predicate.Shop

LayerNEQ applies the NEQ predicate on the "layer" field.

func LayerNotIn

func LayerNotIn(vs ...int) predicate.Shop

LayerNotIn applies the NotIn predicate on the "layer" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Shop) predicate.Shop

Or groups predicates with the OR operator between them.

func Remark

func Remark(v string) predicate.Shop

Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.

func RemarkContains

func RemarkContains(v string) predicate.Shop

RemarkContains applies the Contains predicate on the "remark" field.

func RemarkContainsFold

func RemarkContainsFold(v string) predicate.Shop

RemarkContainsFold applies the ContainsFold predicate on the "remark" field.

func RemarkEQ

func RemarkEQ(v string) predicate.Shop

RemarkEQ applies the EQ predicate on the "remark" field.

func RemarkEqualFold

func RemarkEqualFold(v string) predicate.Shop

RemarkEqualFold applies the EqualFold predicate on the "remark" field.

func RemarkGT

func RemarkGT(v string) predicate.Shop

RemarkGT applies the GT predicate on the "remark" field.

func RemarkGTE

func RemarkGTE(v string) predicate.Shop

RemarkGTE applies the GTE predicate on the "remark" field.

func RemarkHasPrefix

func RemarkHasPrefix(v string) predicate.Shop

RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.

func RemarkHasSuffix

func RemarkHasSuffix(v string) predicate.Shop

RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.

func RemarkIn

func RemarkIn(vs ...string) predicate.Shop

RemarkIn applies the In predicate on the "remark" field.

func RemarkLT

func RemarkLT(v string) predicate.Shop

RemarkLT applies the LT predicate on the "remark" field.

func RemarkLTE

func RemarkLTE(v string) predicate.Shop

RemarkLTE applies the LTE predicate on the "remark" field.

func RemarkNEQ

func RemarkNEQ(v string) predicate.Shop

RemarkNEQ applies the NEQ predicate on the "remark" field.

func RemarkNotIn

func RemarkNotIn(vs ...string) predicate.Shop

RemarkNotIn applies the NotIn predicate on the "remark" field.

func Rent

func Rent(v float32) predicate.Shop

Rent applies equality check predicate on the "rent" field. It's identical to RentEQ.

func RentEQ

func RentEQ(v float32) predicate.Shop

RentEQ applies the EQ predicate on the "rent" field.

func RentGT

func RentGT(v float32) predicate.Shop

RentGT applies the GT predicate on the "rent" field.

func RentGTE

func RentGTE(v float32) predicate.Shop

RentGTE applies the GTE predicate on the "rent" field.

func RentIn

func RentIn(vs ...float32) predicate.Shop

RentIn applies the In predicate on the "rent" field.

func RentLT

func RentLT(v float32) predicate.Shop

RentLT applies the LT predicate on the "rent" field.

func RentLTE

func RentLTE(v float32) predicate.Shop

RentLTE applies the LTE predicate on the "rent" field.

func RentNEQ

func RentNEQ(v float32) predicate.Shop

RentNEQ applies the NEQ predicate on the "rent" field.

func RentNotIn

func RentNotIn(vs ...float32) predicate.Shop

RentNotIn applies the NotIn predicate on the "rent" field.

func RoomArea

func RoomArea(v float32) predicate.Shop

RoomArea applies equality check predicate on the "room_area" field. It's identical to RoomAreaEQ.

func RoomAreaEQ

func RoomAreaEQ(v float32) predicate.Shop

RoomAreaEQ applies the EQ predicate on the "room_area" field.

func RoomAreaGT

func RoomAreaGT(v float32) predicate.Shop

RoomAreaGT applies the GT predicate on the "room_area" field.

func RoomAreaGTE

func RoomAreaGTE(v float32) predicate.Shop

RoomAreaGTE applies the GTE predicate on the "room_area" field.

func RoomAreaIn

func RoomAreaIn(vs ...float32) predicate.Shop

RoomAreaIn applies the In predicate on the "room_area" field.

func RoomAreaLT

func RoomAreaLT(v float32) predicate.Shop

RoomAreaLT applies the LT predicate on the "room_area" field.

func RoomAreaLTE

func RoomAreaLTE(v float32) predicate.Shop

RoomAreaLTE applies the LTE predicate on the "room_area" field.

func RoomAreaNEQ

func RoomAreaNEQ(v float32) predicate.Shop

RoomAreaNEQ applies the NEQ predicate on the "room_area" field.

func RoomAreaNotIn

func RoomAreaNotIn(vs ...float32) predicate.Shop

RoomAreaNotIn applies the NotIn predicate on the "room_area" field.

func RoomNum

func RoomNum(v int) predicate.Shop

RoomNum applies equality check predicate on the "room_num" field. It's identical to RoomNumEQ.

func RoomNumEQ

func RoomNumEQ(v int) predicate.Shop

RoomNumEQ applies the EQ predicate on the "room_num" field.

func RoomNumGT

func RoomNumGT(v int) predicate.Shop

RoomNumGT applies the GT predicate on the "room_num" field.

func RoomNumGTE

func RoomNumGTE(v int) predicate.Shop

RoomNumGTE applies the GTE predicate on the "room_num" field.

func RoomNumIn

func RoomNumIn(vs ...int) predicate.Shop

RoomNumIn applies the In predicate on the "room_num" field.

func RoomNumLT

func RoomNumLT(v int) predicate.Shop

RoomNumLT applies the LT predicate on the "room_num" field.

func RoomNumLTE

func RoomNumLTE(v int) predicate.Shop

RoomNumLTE applies the LTE predicate on the "room_num" field.

func RoomNumNEQ

func RoomNumNEQ(v int) predicate.Shop

RoomNumNEQ applies the NEQ predicate on the "room_num" field.

func RoomNumNotIn

func RoomNumNotIn(vs ...int) predicate.Shop

RoomNumNotIn applies the NotIn predicate on the "room_num" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Shop

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Shop

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Shop

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Shop

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Shop

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Shop

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Shop

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Shop

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Shop

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL