Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type DayOff ¶
type DayOff struct { ID string `gorm:"primaryKey;type:varchar(100)" json:"-"` UserID string `gorm:"type:varchar(100);not null" json:"user_id"` Year int `json:"year"` Month int `json:"month"` Date int `json:"date"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` DeletedAt gorm.DeletedAt `json:"-"` }
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct { BaseResponse Result LoginResult `json:"result"` }
type LoginResult ¶
type PunchResponse ¶
type PunchResponse struct { BaseResponse Result PunchResult `json:"result"` }
type PunchResult ¶
type PunchUsecase ¶
type User ¶
type User struct { ID string `gorm:"primaryKey;type:varchar(100)" json:"-"` Account string `gorm:"type:varchat(100);unique;index;not null" json:"account"` Password string `gorm:"type:varchar(255);not null" json:"password"` DiscordUserID string `gorm:"type:varchar(255);not null" json:"discord_user_id"` IsEnable bool `gorm:"index" json:"-"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` DeletedAt gorm.DeletedAt `json:"-"` }
Click to show internal directories.
Click to hide internal directories.