model

package
v0.0.0-...-2cea6d0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoanApplication

type LoanApplication struct {
	IsPrivateField               bool
	ExpInYear                    int64
	ActiveFieldNumber            int64
	SowSeedsPerCycle             int64
	NeededFertilizerPerCycleInKg int64
	EstimatedYieldInKg           int64
	EstimatedPriceOfHarvestPerKg int64
	HarvestCycleInMonths         int64
	LoanApplicationInIdr         int64
	BusinessIncomePerMonthInIdr  int64
	BusinessOutcomePerMonthInIdr int64
	Id                           string
	UserId                       string
	FullName                     string
	BirthDate                    string
	FullAddress                  string
	Phone                        string
	IdCardUrl                    string
	OtherBusiness                string
	Status                       string
	OfficerId                    sql.NullString
	CreatedDate                  time.Time
	UpdatedDate                  time.Time
}

type User

type User struct {
	IsOfficer   bool
	Id          string
	Username    string
	Password    string
	CreatedDate time.Time
}

Jump to

Keyboard shortcuts

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