Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreditCardApplication ¶
type CreditCardApplication struct { ID uint `gorm:"primary_key"` FirstName string `json:"firstName"` LastName string `json:"lastName"` DateOfBirth time.Time `json:"dateOfBirth"` PhoneNumber string `json:"phoneNumber"` SocialSecurityNumber string `json:"socialSecurityNumber"` EmploymentType string `json:"employmentType"` Occupation string `json:"occupation"` MonthlyIncome float64 `json:"monthlyIncome"` YearsEmployed int `json:"yearsEmployed"` StreetAddress string `json:"streetAddress"` YearsAtAddress int `json:"yearsAtAddress"` City string `json:"city"` State string `json:"state"` Zip string `json:"zip"` Country string `json:"country"` Ownership string `json:"ownership"` MonthlyPayment float64 `json:"monthlyPayment"` CardName string `json:"cardName"` CardType string `json:"cardType"` Branch string `json:"branch"` CardBranding string `json:"cardBranding"` CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time }
CreditCardApplication - handles the ORM of CreditCardApplication table and the response of gRPC services
type CreditCards ¶
type CreditCards struct { ID uint `gorm:"primary_key"` Name string `json:"name"` Email string `json:"email"` PhoneNumber string `json:"phoneNumber"` Address string `json:"address"` Country string `json:"country"` City string `json:"city"` Zip string `json:"zip"` CVV string `json:"CVV"` CreatedAt time.Time `json:"createdAt,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` DeletedAt time.Time `json:"-"` }
CreditCards - handles the ORM of CreditCards table and the response of gRPC services
Click to show internal directories.
Click to hide internal directories.