step 15 : add master dokter dengan foto dan tanpa foto
This commit is contained in:
10
models/customuploadfotov0.models.go
Normal file
10
models/customuploadfotov0.models.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
type CustomUploadFotoPrmV0 struct {
|
||||
ID string `desc:"ID"`
|
||||
Name string `desc:"name"`
|
||||
Accept string `desc:"ekstension acc (.png, .jpg, .jpeg)"`
|
||||
Label string `desc:"label title"`
|
||||
LinkFoto string
|
||||
Value string `desc:""`
|
||||
}
|
||||
@@ -7,96 +7,106 @@ import (
|
||||
)
|
||||
|
||||
type DoctorV1 struct {
|
||||
Nomor string `db:"nomor"`
|
||||
M_DoctorID int `db:"M_DoctorID"`
|
||||
M_DoctorM_TitleID int `db:"M_DoctorM_TitleID"`
|
||||
M_DoctorCode string `db:"M_DoctorCode"`
|
||||
M_DoctorPrefix string `db:"M_DoctorPrefix"`
|
||||
M_DoctorPrefix2 string `db:"M_DoctorPrefix2"`
|
||||
M_DoctorName string `db:"M_DoctorName"`
|
||||
M_DoctorSuffix string `db:"M_DoctorSuffix"`
|
||||
M_DoctorSuffix2 string `db:"M_DoctorSuffix2"`
|
||||
M_DoctorGender string `db:"M_DoctorGender"`
|
||||
M_DoctorDOB string `db:"M_DoctorDOB"`
|
||||
M_DoctorReligionCode string `db:"M_DoctorReligionCode"`
|
||||
M_DoctorReligionSystem string `db:"M_DoctorReligionSystem"`
|
||||
M_DoctorBloodTypeCode string `db:"M_DoctorBloodTypeCode"`
|
||||
M_DoctorBloodTypeSystem string `db:"M_DoctorBloodTypeSystem"`
|
||||
M_DoctorBloodRhCode string `db:"M_DoctorBloodRhCode"`
|
||||
M_DoctorBloodRhSystem string `db:"M_DoctorBloodRhSystem"`
|
||||
M_DoctorEducationCode string `db:"M_DoctorEducationCode"`
|
||||
M_DoctorEducationSystem string `db:"M_DoctorEducationSystem"`
|
||||
M_DoctorCitizenship string `db:"M_DoctorCitizenship"`
|
||||
M_DoctorEtnicCode string `db:"M_DoctorEtnicCode"`
|
||||
M_DoctorEtnicSystem string `db:"M_DoctorEtnicSystem"`
|
||||
M_DoctorIdentifierCode string `db:"M_DoctorIdentifierCode"`
|
||||
M_DoctorIdentifierSystem string `db:"M_DoctorIdentifierSystem"`
|
||||
M_DoctorIdentifierValue string `db:"M_DoctorIdentifierValue"`
|
||||
M_DoctorHp string `db:"M_DoctorHp"`
|
||||
M_DoctorEmail string `db:"M_DoctorEmail"`
|
||||
M_DoctorM_SpecialistID string `db:"M_DoctorM_SpecialistID"`
|
||||
M_SpecialistID string `db:"M_SpecialistID"`
|
||||
M_SpecialistName string `db:"M_SpecialistName"`
|
||||
M_TitleName string `db:"M_TitleName"`
|
||||
M_DoctorAddress string `db:"M_DoctorAddress"`
|
||||
M_DoctorAddressRegionalCd int `db:"M_DoctorAddressRegionalCd"`
|
||||
M_DoctorAddressCity string `db:"M_DoctorAddressCity"`
|
||||
M_DoctorAddressDistrict string `db:"M_DoctorAddressDistrict"`
|
||||
M_DoctorAddressState string `db:"M_DoctorAddressState"`
|
||||
M_DoctorAddressCountry string `db:"M_DoctorAddressCountry"`
|
||||
M_DoctorCreated string `db:"M_DoctorCreated"`
|
||||
M_DoctorCreatedUserID string `db:"M_DoctorCreatedUserID"`
|
||||
M_DoctorLastUpdated string `db:"M_DoctorLastUpdated"`
|
||||
M_DoctorLastUpdatedUserID string `db:"M_DoctorLastUpdatedUserID"`
|
||||
M_DoctorDeletedUserID string `db:"M_DoctorDeletedUserID"`
|
||||
M_DoctorDeleted string `db:"M_DoctorDeleted"`
|
||||
M_DoctorIsActive string `db:"M_DoctorIsActive"`
|
||||
Nomor string `db:"nomor"`
|
||||
M_DoctorID int `db:"M_DoctorID"`
|
||||
M_DoctorM_TitleID int `db:"M_DoctorM_TitleID"`
|
||||
M_DoctorCode string `db:"M_DoctorCode"`
|
||||
M_DoctorPrefix string `db:"M_DoctorPrefix"`
|
||||
M_DoctorPrefix2 string `db:"M_DoctorPrefix2"`
|
||||
M_DoctorName string `db:"M_DoctorName"`
|
||||
M_DoctorSuffix string `db:"M_DoctorSuffix"`
|
||||
M_DoctorSuffix2 string `db:"M_DoctorSuffix2"`
|
||||
M_DoctorGender string `db:"M_DoctorGender"`
|
||||
M_DoctorDOB string `db:"M_DoctorDOB"`
|
||||
M_DoctorReligionCode string `db:"M_DoctorReligionCode"`
|
||||
M_DoctorReligionSystem string `db:"M_DoctorReligionSystem"`
|
||||
M_DoctorBloodTypeCode string `db:"M_DoctorBloodTypeCode"`
|
||||
M_DoctorBloodTypeSystem string `db:"M_DoctorBloodTypeSystem"`
|
||||
M_DoctorBloodRhCode string `db:"M_DoctorBloodRhCode"`
|
||||
M_DoctorBloodRhSystem string `db:"M_DoctorBloodRhSystem"`
|
||||
M_DoctorEducationCode string `db:"M_DoctorEducationCode"`
|
||||
M_DoctorEducationSystem string `db:"M_DoctorEducationSystem"`
|
||||
M_DoctorCitizenship string `db:"M_DoctorCitizenship"`
|
||||
M_DoctorEtnicCode string `db:"M_DoctorEtnicCode"`
|
||||
M_DoctorEtnicSystem string `db:"M_DoctorEtnicSystem"`
|
||||
M_DoctorIdentifierCode string `db:"M_DoctorIdentifierCode"`
|
||||
M_DoctorIdentifierSystem string `db:"M_DoctorIdentifierSystem"`
|
||||
M_DoctorIdentifierValue string `db:"M_DoctorIdentifierValue"`
|
||||
M_DoctorHp string `db:"M_DoctorHp"`
|
||||
M_DoctorEmail string `db:"M_DoctorEmail"`
|
||||
M_DoctorM_SpecialistID string `db:"M_DoctorM_SpecialistID"`
|
||||
M_DoctorPhoto string `db:"M_DoctorPhoto"`
|
||||
M_DoctorPhotoLastUpdated string `db:"M_DoctorPhotoLastUpdated"`
|
||||
M_DoctorPhotoLastUpdatedUserID string `db:"M_DoctorPhotoLastUpdatedUserID"`
|
||||
M_SpecialistID string `db:"M_SpecialistID"`
|
||||
M_SpecialistName string `db:"M_SpecialistName"`
|
||||
M_TitleName string `db:"M_TitleName"`
|
||||
M_DoctorAddress string `db:"M_DoctorAddress"`
|
||||
M_DoctorAddressRegionalCd int `db:"M_DoctorAddressRegionalCd"`
|
||||
M_DoctorAddressRT string `db:"M_DoctorAddressRT"`
|
||||
M_DoctorAddressRW string `db:"M_DoctorAddressRW"`
|
||||
M_DoctorAddressCity string `db:"M_DoctorAddressCity"`
|
||||
M_DoctorAddressVillage string `db:"M_DoctorAddressVillage"`
|
||||
M_DoctorAddressDistrict string `db:"M_DoctorAddressDistrict"`
|
||||
M_DoctorAddressState string `db:"M_DoctorAddressState"`
|
||||
M_DoctorAddressCountry string `db:"M_DoctorAddressCountry"`
|
||||
M_DoctorCreated string `db:"M_DoctorCreated"`
|
||||
M_DoctorCreatedUserID string `db:"M_DoctorCreatedUserID"`
|
||||
M_DoctorLastUpdated string `db:"M_DoctorLastUpdated"`
|
||||
M_DoctorLastUpdatedUserID string `db:"M_DoctorLastUpdatedUserID"`
|
||||
M_DoctorDeletedUserID string `db:"M_DoctorDeletedUserID"`
|
||||
M_DoctorDeleted string `db:"M_DoctorDeleted"`
|
||||
M_DoctorIsActive string `db:"M_DoctorIsActive"`
|
||||
}
|
||||
|
||||
// doctor json
|
||||
type DoctorJSONv1 struct {
|
||||
M_DoctorID int `db:"M_DoctorID"`
|
||||
M_DoctorM_TitleID int `db:"M_DoctorM_TitleID"`
|
||||
M_DoctorCode string `db:"M_DoctorCode"`
|
||||
M_DoctorPrefix string `db:"M_DoctorPrefix"`
|
||||
M_DoctorPrefix2 string `db:"M_DoctorPrefix2"`
|
||||
M_DoctorName string `db:"M_DoctorName"`
|
||||
M_DoctorSuffix string `db:"M_DoctorSuffix"`
|
||||
M_DoctorSuffix2 string `db:"M_DoctorSuffix2"`
|
||||
M_DoctorGender string `db:"M_DoctorGender"`
|
||||
M_DoctorDOB string `db:"M_DoctorDOB"`
|
||||
M_DoctorReligionCode string `db:"M_DoctorReligionCode"`
|
||||
M_DoctorReligionSystem string `db:"M_DoctorReligionSystem"`
|
||||
M_DoctorBloodTypeCode string `db:"M_DoctorBloodTypeCode"`
|
||||
M_DoctorBloodTypeSystem string `db:"M_DoctorBloodTypeSystem"`
|
||||
M_DoctorBloodRhCode string `db:"M_DoctorBloodRhCode"`
|
||||
M_DoctorBloodRhSystem string `db:"M_DoctorBloodRhSystem"`
|
||||
M_DoctorEducationCode string `db:"M_DoctorEducationCode"`
|
||||
M_DoctorEducationSystem string `db:"M_DoctorEducationSystem"`
|
||||
M_DoctorCitizenship string `db:"M_DoctorCitizenship"`
|
||||
M_DoctorEtnicCode string `db:"M_DoctorEtnicCode"`
|
||||
M_DoctorEtnicSystem string `db:"M_DoctorEtnicSystem"`
|
||||
M_DoctorIdentifierCode string `db:"M_DoctorIdentifierCode"`
|
||||
M_DoctorIdentifierSystem string `db:"M_DoctorIdentifierSystem"`
|
||||
M_DoctorIdentifierValue string `db:"M_DoctorIdentifierValue"`
|
||||
M_DoctorHp string `db:"M_DoctorHp"`
|
||||
M_DoctorEmail string `db:"M_DoctorEmail"`
|
||||
M_DoctorM_SpecialistID int `db:"M_DoctorM_SpecialistID"`
|
||||
M_DoctorAddress string `db:"M_DoctorAddress"`
|
||||
M_DoctorAddressRegionalCd string `db:"M_DoctorAddressRegionalCd"`
|
||||
M_DoctorAddressRT string `db:"M_DoctorAddressRT"`
|
||||
M_DoctorAddressRW string `db:"M_DoctorAddressRW"`
|
||||
M_DoctorAddressCity string `db:"M_DoctorAddressCity"`
|
||||
M_DoctorAddressDistrict string `db:"M_DoctorAddressDistrict"`
|
||||
M_DoctorAddressState string `db:"M_DoctorAddressState"`
|
||||
M_DoctorAddressCountry string `db:"M_DoctorAddressCountry"`
|
||||
M_DoctorIsActive string `db:"M_DoctorIsActive"`
|
||||
M_DoctorCreated string `db:"M_DoctorCreated"`
|
||||
M_DoctorCreatedUserID int `db:"M_DoctorCreatedUserID"`
|
||||
M_DoctorLastUpdated string `db:"M_DoctorLastUpdated"`
|
||||
M_DoctorLastUpdatedUserID int `db:"M_DoctorLastUpdatedUserID"`
|
||||
M_DoctorDeletedUserID int `db:"M_DoctorDeletedUserID"`
|
||||
M_DoctorDeleted string `db:"M_DoctorDeleted"`
|
||||
M_DoctorID int `db:"M_DoctorID"`
|
||||
M_DoctorM_TitleID int `db:"M_DoctorM_TitleID"`
|
||||
M_DoctorCode string `db:"M_DoctorCode"`
|
||||
M_DoctorPrefix string `db:"M_DoctorPrefix"`
|
||||
M_DoctorPrefix2 string `db:"M_DoctorPrefix2"`
|
||||
M_DoctorName string `db:"M_DoctorName"`
|
||||
M_DoctorSuffix string `db:"M_DoctorSuffix"`
|
||||
M_DoctorSuffix2 string `db:"M_DoctorSuffix2"`
|
||||
M_DoctorGender string `db:"M_DoctorGender"`
|
||||
M_DoctorDOB string `db:"M_DoctorDOB"`
|
||||
M_DoctorReligionCode string `db:"M_DoctorReligionCode"`
|
||||
M_DoctorReligionSystem string `db:"M_DoctorReligionSystem"`
|
||||
M_DoctorBloodTypeCode string `db:"M_DoctorBloodTypeCode"`
|
||||
M_DoctorBloodTypeSystem string `db:"M_DoctorBloodTypeSystem"`
|
||||
M_DoctorBloodRhCode string `db:"M_DoctorBloodRhCode"`
|
||||
M_DoctorBloodRhSystem string `db:"M_DoctorBloodRhSystem"`
|
||||
M_DoctorEducationCode string `db:"M_DoctorEducationCode"`
|
||||
M_DoctorEducationSystem string `db:"M_DoctorEducationSystem"`
|
||||
M_DoctorCitizenship string `db:"M_DoctorCitizenship"`
|
||||
M_DoctorEtnicCode string `db:"M_DoctorEtnicCode"`
|
||||
M_DoctorEtnicSystem string `db:"M_DoctorEtnicSystem"`
|
||||
M_DoctorIdentifierCode string `db:"M_DoctorIdentifierCode"`
|
||||
M_DoctorIdentifierSystem string `db:"M_DoctorIdentifierSystem"`
|
||||
M_DoctorIdentifierValue string `db:"M_DoctorIdentifierValue"`
|
||||
M_DoctorHp string `db:"M_DoctorHp"`
|
||||
M_DoctorEmail string `db:"M_DoctorEmail"`
|
||||
M_DoctorM_SpecialistID int `db:"M_DoctorM_SpecialistID"`
|
||||
M_DoctorPhoto string `db:"M_DoctorPhoto"`
|
||||
M_DoctorPhotoLastUpdated string `db:"M_DoctorPhotoLastUpdated"`
|
||||
M_DoctorPhotoLastUpdatedUserID string `db:"M_DoctorPhotoLastUpdatedUserID"`
|
||||
M_DoctorAddress string `db:"M_DoctorAddress"`
|
||||
M_DoctorAddressRegionalCd string `db:"M_DoctorAddressRegionalCd"`
|
||||
M_DoctorAddressRT string `db:"M_DoctorAddressRT"`
|
||||
M_DoctorAddressRW string `db:"M_DoctorAddressRW"`
|
||||
M_DoctorAddressCity string `db:"M_DoctorAddressCity"`
|
||||
M_DoctorAddressVillage string `db:"M_DoctorAddressVillage"`
|
||||
M_DoctorAddressDistrict string `db:"M_DoctorAddressDistrict"`
|
||||
M_DoctorAddressState string `db:"M_DoctorAddressState"`
|
||||
M_DoctorAddressCountry string `db:"M_DoctorAddressCountry"`
|
||||
M_DoctorIsActive string `db:"M_DoctorIsActive"`
|
||||
M_DoctorCreated string `db:"M_DoctorCreated"`
|
||||
M_DoctorCreatedUserID int `db:"M_DoctorCreatedUserID"`
|
||||
M_DoctorLastUpdated string `db:"M_DoctorLastUpdated"`
|
||||
M_DoctorLastUpdatedUserID int `db:"M_DoctorLastUpdatedUserID"`
|
||||
M_DoctorDeletedUserID int `db:"M_DoctorDeletedUserID"`
|
||||
M_DoctorDeleted string `db:"M_DoctorDeleted"`
|
||||
}
|
||||
|
||||
// title
|
||||
|
||||
Reference in New Issue
Block a user