update person entity
This commit is contained in:
@@ -25,16 +25,16 @@ type Person struct {
|
||||
BirthRegency_Code *string `json:"birthRegency_code" gorm:"size:4"`
|
||||
BirthRegency *er.Regency `json:"birthRegency,omitempty" gorm:"foreignKey:BirthRegency_Code;references:Code"`
|
||||
Gender_Code *erp.GenderCode `json:"gender_code" gorm:"size:10"`
|
||||
ResidentIdentityNumber *string `json:"residentIdentityNumber" gorm:"uniqueIndex:idx_resident_identity,where:\"DeletedAt\" IS NULL"`
|
||||
PassportNumber *string `json:"passportNumber" gorm:"unique;size:20"`
|
||||
DrivingLicenseNumber *string `json:"drivingLicenseNumber" gorm:"unique;size:20"`
|
||||
ResidentIdentityNumber *string `json:"residentIdentityNumber" gorm:"uniqueIndex:idx_resident_identity,where:\"DeletedAt\" IS NULL;size:16"`
|
||||
PassportNumber *string `json:"passportNumber" gorm:"uniqueIndex:idx_passport,where:\"DeletedAt\" IS NULL;size:20"`
|
||||
DrivingLicenseNumber *string `json:"drivingLicenseNumber" gorm:"uniqueIndex:idx_driver_license,where:\"DeletedAt\" IS NULL;size:20"`
|
||||
Religion_Code *erp.ReligionCode `json:"religion_code" gorm:"size:10"`
|
||||
Confidence *string `json:"confidence" gorm:"size:512"`
|
||||
Education_Code *erp.EducationCode `json:"education_code" gorm:"size:10"`
|
||||
Ocupation_Code *erp.OcupationCode `json:"occupation_code" gorm:"size:15"`
|
||||
Ocupation_Name *string `json:"occupation_name" gorm:"size:50"`
|
||||
MaritalStatus_Code *erp.MaritalStatusCode `json:"maritalStatus_code" gorm:"size:10"`
|
||||
Nationality *string `json:"nationality": gorm:"size:50"`
|
||||
Nationality *string `json:"nationality" gorm:"size:50"`
|
||||
Ethnic_Code *string `json:"ethnic_code" gorm:"size:20"`
|
||||
Ethnic *ee.Ethnic `json:"ethnic,omitempty" gorm:"foreignKey:Ethnic_Code;references:Code"`
|
||||
Language_Code *string `json:"language_code" gorm:"size:10"`
|
||||
|
||||
@@ -41,7 +41,7 @@ type MPasien struct {
|
||||
Sim *string `json:"sim" gorm:"column:sim"`
|
||||
Paspor *string `json:"paspor" gorm:"column:paspor"`
|
||||
Disabilitas *string `json:"disabilitas" gorm:"column:disabilitas"`
|
||||
Bahasa string `json:"bahasa" json:"bahasa"`
|
||||
Bahasa string `json:"bahasa" gorm:"column:bahasa"`
|
||||
HambatanKomunikasi string `json:"hambatan_komunikasi" gorm:"column:hambatan_komunikasi"`
|
||||
Kebangsaan string `json:"kebangsaan" gorm:"column:kebangsaan"`
|
||||
Notelprumah1 string `json:"notelprumah1" gorm:"column:notelprumah1"`
|
||||
|
||||
Reference in New Issue
Block a user