Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fields = fields{
UUID: "_id",
BusinessUUID: "business_uuid",
BusinessName: "business_name",
Email: "email",
IsUsed: "is_used",
CreatorUserName: "creator_user_name",
IsDeleted: "is_deleted",
CreatedAt: "created_at",
UpdatedAt: "updated_at",
}
Functions ¶
This section is empty.
Types ¶
type MongoInvite ¶
type MongoInvite struct { UUID string `bson:"_id,omitempty"` BusinessUUID string `bson:"business_uuid"` BusinessName string `bson:"business_name"` CreatorUserName string `bson:"creator_user_name"` Email string `bson:"email"` IsUsed bool `bson:"is_used"` IsDeleted bool `bson:"is_deleted"` CreatedAt *time.Time `bson:"created_at"` UpdatedAt *time.Time `bson:"updated_at"` }
func (*MongoInvite) FromInvite ¶
func (m *MongoInvite) FromInvite(invite *invite.Entity) *MongoInvite
func (*MongoInvite) ToInvite ¶
func (m *MongoInvite) ToInvite() *invite.Entity
Click to show internal directories.
Click to hide internal directories.