entity

package
v0.0.0-...-57fdbbf Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	ID          int                   `json:"id" db:"id"`
	UUID        string                `json:"uuid" db:"uuid"`
	Name        string                `db:"name"`
	Message     string                `db:"message"`
	Email       customtype.NullString `db:"email"`
	DateAdd     time.Time             `db:"date_add"`
	EmailString string
}

Contact Contact

func (*Contact) GetDateAdd

func (c *Contact) GetDateAdd() time.Time

GetDateAdd GetDateAdd

func (*Contact) GetEmail

func (c *Contact) GetEmail() customtype.NullString

GetEmail GetEmail

func (*Contact) GetEmailString

func (c *Contact) GetEmailString() string

GetEmailString GetEmailString

func (*Contact) GetID

func (c *Contact) GetID() int

GetID GetID

func (*Contact) GetMessage

func (c *Contact) GetMessage() string

GetMessage GetMessage

func (*Contact) GetName

func (c *Contact) GetName() string

GetName GetName

func (*Contact) GetUUID

func (c *Contact) GetUUID() string

GetUUID GetUUID

func (*Contact) New

func (*Contact) New() model.IContact

New New

func (*Contact) SetDateAdd

func (c *Contact) SetDateAdd(dateAdd time.Time) model.IContact

SetDateAdd SetDateAdd

func (*Contact) SetEmail

func (c *Contact) SetEmail(email customtype.NullString) model.IContact

SetEmail SetEmail

func (*Contact) SetEmailString

func (c *Contact) SetEmailString() model.IContact

SetEmailString SetEmailString

func (*Contact) SetID

func (c *Contact) SetID(id int) model.ICommon

SetID SetID

func (*Contact) SetMessage

func (c *Contact) SetMessage(message string) model.IContact

SetMessage SetMessage

func (*Contact) SetName

func (c *Contact) SetName(name string) model.IContact

SetName SetName

func (*Contact) SetUUID

func (c *Contact) SetUUID(uuid string) model.ICommon

SetUUID SetUUID

Jump to

Keyboard shortcuts

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