Documentation ¶
Index ¶
- func ValidateCallbackBayarInput(request *BayarSppRequest) error
- func ValidateCreateGuruInput(request *CreateGuruRequest) error
- func ValidateCreateKelasInput(request *CreateKelasRequest) error
- func ValidateCreateSiswaInput(request *CreateSiswaRequest) error
- func ValidateCreateSppInput(request *CreateSppRequest) error
- func ValidateCreateUserInput(request *CreateAdminRequest) error
- func ValidateUpdateKelasInput(request *UpdateDetailKelasRequest) error
- func ValidateUpdateKelasSiswaInput(request *UpdateKelasSiswaRequest) error
- type BayarSppRequest
- type BayarSppResponse
- type CreateAdminRequest
- type CreateAdminResponse
- type CreateGuruRequest
- type CreateGuruResponse
- type CreateKelasRequest
- type CreateKelasResponse
- type CreateSiswaRequest
- type CreateSiswaResponse
- type CreateSppRequest
- type CreateSppResponse
- type GetDetailGuruResponse
- type GetDetailKelasResponse
- type GetDetailSiswaResponse
- type GetDetailSppResponse
- type GetDetailUser
- type GetListGuruResponse
- type GetListKelasResponse
- type GetListSiswaByKelasResponse
- type GetListSiswaResponse
- type GetListSppResponse
- type GetListUserResponse
- type LoginRequest
- type LoginResponse
- type UpdateDetailKelasRequest
- type UpdateDetailKelasResponse
- type UpdateKelasSiswaRequest
- type UpdateKelasSiswaResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCallbackBayarInput ¶
func ValidateCallbackBayarInput(request *BayarSppRequest) error
func ValidateCreateGuruInput ¶
func ValidateCreateGuruInput(request *CreateGuruRequest) error
validation
func ValidateCreateKelasInput ¶
func ValidateCreateKelasInput(request *CreateKelasRequest) error
validation
func ValidateCreateSiswaInput ¶
func ValidateCreateSiswaInput(request *CreateSiswaRequest) error
validation
func ValidateCreateSppInput ¶
func ValidateCreateSppInput(request *CreateSppRequest) error
validation
func ValidateCreateUserInput ¶
func ValidateCreateUserInput(request *CreateAdminRequest) error
validation
func ValidateUpdateKelasInput ¶
func ValidateUpdateKelasInput(request *UpdateDetailKelasRequest) error
func ValidateUpdateKelasSiswaInput ¶
func ValidateUpdateKelasSiswaInput(request *UpdateKelasSiswaRequest) error
Types ¶
type BayarSppRequest ¶
type BayarSppRequest struct {
NoSpp string `json:"no_spp"`
}
type BayarSppResponse ¶
type CreateAdminRequest ¶
type CreateAdminResponse ¶
type CreateGuruRequest ¶
type CreateGuruResponse ¶
type CreateKelasRequest ¶
type CreateKelasResponse ¶
type CreateSiswaRequest ¶
type CreateSiswaResponse ¶
type CreateSiswaResponse struct { ID string `json:"id"` UserID string `json:"user_id"` KelasID string `json:"kelas_id"` Email string `json:"email"` Username string `json:"username"` Role string `json:"role"` NIS int `json:"nis"` Nama string `json:"nama"` Angkatan string `json:"angkatan"` IsActive bool `json:"is_active"` entity.Timestamp }
type CreateSppRequest ¶
type CreateSppResponse ¶
type GetDetailGuruResponse ¶
type GetDetailKelasResponse ¶
type GetDetailSiswaResponse ¶
type GetDetailSiswaResponse struct { ID string `json:"id"` UserID string `json:"user_id"` Email string `json:"email"` Username string `json:"username"` Role string `json:"role"` NIS int `json:"nis"` Nama string `json:"nama"` Kelas string `json:"kelas"` Angkatan string `json:"angkatan"` IsActive bool `json:"is_active"` entity.Timestamp }
type GetDetailSppResponse ¶
type GetDetailSppResponse struct { ID string `json:"id"` Siswa_id string `json:"siswa_id"` Nama string `json:"nama"` Kelas string `json:"kelas"` NIS int `json:"nis"` NoSpp string `json:"no_spp"` JatuhTempo string `json:"jatuh_tempo"` Jumlah string `json:"jumlah"` TanggalBayar string `json:"tanggal_bayar"` Status string `json:"status"` entity.Timestamp }
type GetDetailUser ¶
type GetListGuruResponse ¶
type GetListKelasResponse ¶
type GetListSiswaByKelasResponse ¶
type GetListSiswaByKelasResponse struct { ID string `json:"id"` UserID string `json:"user_id"` Email string `json:"email"` Username string `json:"username"` Role string `json:"role"` NIS int `json:"nis"` Nama string `json:"nama"` Kelas string `json:"kelas"` Angkatan string `json:"angkatan"` IsActive bool `json:"is_active"` entity.Timestamp }
type GetListSiswaResponse ¶
type GetListSiswaResponse struct { ID string `json:"id"` UserID string `json:"user_id"` KelasID string `json:"kelas_id"` Email string `json:"email"` Username string `json:"username"` Role string `json:"role"` NIS int `json:"nis"` Nama string `json:"nama"` Kelas string `json:"kelas"` Angkatan string `json:"angkatan"` IsActive bool `json:"is_active"` entity.Timestamp }
type GetListSppResponse ¶
type GetListSppResponse struct { ID string `json:"id"` SiswaID string `json:"siswa_id"` Nama string `json:"nama"` Kelas string `json:"kelas"` NIS int `json:"nis"` NoSpp string `json:"no_spp"` JatuhTempo string `json:"jatuh_tempo"` Jumlah string `json:"jumlah"` TanggalBayar string `json:"tanggal_bayar"` Status string `json:"status"` entity.Timestamp }
type GetListUserResponse ¶
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
type UpdateKelasSiswaRequest ¶
Click to show internal directories.
Click to hide internal directories.