Last active
June 18, 2023 09:51
-
-
Save pattanunNP/7b71646922519f4c57ae5c8c9157ce21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type CustomerUserAccount struct { | |
UserID string `json:"user_id" bson:"user_id"` | |
Firstname string `json:"firstname" bson:"firstname"` | |
Lastname string `json:"lastname" bson:"lastname"` | |
Email string `json:"email" bson:"Email"` | |
DisplayName string `json:"display_name" bson:"display_name"` | |
Company string `json:"company" bson:"Company"` | |
PhoneNumber string `json:"phone_number" bson:"phone_number"` | |
AdsLink string `json:"ads_link" bson:"ads_link"` | |
RegisterDate int64 `json:"register_date" bson:"register_date"` | |
InviteCode string `json:"invite_code" bson:"invite_code"` | |
UserType string `json:"user_type" bson:"user_type"` | |
CompanySize string `json:"company_size" bson:"company_size"` | |
Status string `json:"status,omitempty" bson:"status"` | |
Activated bool `json:"activated" bson:"activated"` | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"freelancers": { | |
"user_id": "Uc7a74152b290030904bb5c5da13cb44f", | |
"firstname": "pattanan", | |
"bio": "$Quas sapiente et beatae aspernatur quia reiciendis. Sit modi ut sunt. Repellat quae eos accusantium sapiente rerum dolorem tempore exercitationem. Id perspiciatis velit aut voluptatem nam reprehenderit iste ullam. Nostrum voluptatem voluptas ut repellendus molestias.", | |
"birthday": 1024465131, | |
"email": "pattanan19army@gmail.com", | |
"gender": "", | |
"ads_link": "google", | |
"lastname": "numpong", | |
"display_name": "Pattanan [Arm]", | |
"user_type": "", | |
"status": "AVAILABLE", | |
"current_job": { | |
"job_id": "", | |
"job_name": "", | |
"job_detail": "", | |
"job_brief_link": "", | |
"job_status": "", | |
"project_id": "", | |
"job_worker": null, | |
"job_worker_count": 0, | |
"job_worker_candidate": null, | |
"job_timeline_date": { | |
"application_close_date": 0, | |
"staff_contact_date": 0, | |
"result_announcement": 0, | |
"job_start_date": 0, | |
"job_delivery_date": 0 | |
}, | |
"job_budget": 0, | |
"project": { | |
"project_id": "", | |
"project_name": "", | |
"project_thumbnail": "" | |
}, | |
"job_condition": "" | |
}, | |
"educations": [ | |
{ | |
"education_id": "c323ffd24fadbd1b1cea", | |
"level": "Undergrad", | |
"school_name": "MU University", | |
"start_date": 1222, | |
"description": "lorem" | |
} | |
], | |
"work_experiences": [ | |
{ | |
"work_experience_id": "2f0ef5d272fc142cc40b", | |
"company_name": "standupcode", | |
"position": "ceo", | |
"address": "thai", | |
"start_date": 1243, | |
"description": "222" | |
} | |
], | |
"awards": [ | |
{ | |
"award_id": "18f2d84d035523069c5f", | |
"name": "Undergrad", | |
"description": "lorem", | |
"issuer": "Chulalongkorn University", | |
"issue_date": 1222, | |
"expire_date": 131333, | |
"type": "certificate", | |
"award_link": "", | |
"certificate_id": "" | |
} | |
], | |
"invite_code": "", | |
"activated": false, | |
"developer_account": { | |
"github": "", | |
"gitlab": "" | |
}, | |
"available_period": "After Work", | |
"is_open_for_full_time_job": false, | |
"working_time": "20", | |
"english_communication_level": "basic", | |
"portfolio_link": "https://pattanan.me", | |
"interesting_position": [ | |
"Frontend" | |
], | |
"register_date": 0, | |
"skills": [ | |
{ | |
"skills_id": "63b9a4dcae8a5cbdaa78df8c", | |
"label": "Airflow", | |
"value": "Airflow", | |
"image": "https://cdn.standupcode.tech/standupwork/assets/stack/software/Data%20Pipeline/Airflow.png", | |
"depends_on": null, | |
"types": "Data Pipeline" | |
}, | |
{ | |
"skills_id": "63b9a4dfae8a5cbdaa78dfc1", | |
"label": "Akamai", | |
"value": "Akamai", | |
"image": "https://cdn.standupcode.tech/standupwork/assets/stack/software/CDN/Akamai.png", | |
"depends_on": null, | |
"types": "CDN" | |
} | |
], | |
"phone_number": "088-0406061", | |
"freelance_projects": null, | |
"verification": { | |
"id_card_verification": { | |
"id_card_number": "23333333", | |
"id_card_image": "https://storage.cloud.google.com/standswork-document/standswork/documents/freelancer/Uc7a74152b290030904bb5c5da13cb44f/id_card/bankAccUc7a74152b290030904bb5c5da13cb44f.png", | |
"address": "Kiara Spurs", | |
"verify_status": "PENDING_APPROVAL" | |
}, | |
"bank_account_verification": { | |
"bank_account_number": "23333333", | |
"bank_account_name": "pattanan", | |
"bank_name": "kisikorn", | |
"book_bank_image": "https://storage.cloud.google.com/standswork-document/standswork/documents/freelancer/Uc7a74152b290030904bb5c5da13cb44f/book_bank/bankAccUc7a74152b290030904bb5c5da13cb44f.png", | |
"verify_status": "PENDING_APPROVAL" | |
}, | |
"document_sending_address": { | |
"post_code": "", | |
"address": "", | |
"verify_status": "" | |
} | |
}, | |
"experience": "3" | |
}, | |
"message": "Success" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type FreelanceUserAccountRes struct { | |
UserID string `json:"user_id" bson:"user_id"` | |
Firstname string `json:"firstname" bson:"firstname"` | |
Bio string `json:"bio" bson:"bio"` | |
BirthDay int `json:"birthday" bson:"birthday"` | |
Email string `json:"email" bson:"email"` | |
Gender string `json:"gender" bson:"gender"` | |
AdsLink string `json:"ads_link" bson:"ads_link"` | |
Lastname string `json:"lastname" bson:"lastname"` | |
DisplayName string `json:"display_name" bson:"display_name"` | |
UserType string `json:"user_type" bson:"user_type"` | |
Status string `json:"status" bson:"status"` | |
// CurrentJob Job `json:"current_job" bson:"current_job"` | |
Educations []Education `json:"educations" bson:"educations"` | |
WorkExperience []WorkExperience `json:"work_experiences" bson:"work_experiences"` | |
Awards []Award `json:"awards" bson:"awards"` | |
InviteCode string `json:"invite_code" bson:"invite_code"` | |
Activated bool `json:"activated" bson:"activated"` | |
DeveloperAccount DeveloperAccount `json:"developer_account" bson:"developer_account"` | |
AvailablePeriod string `json:"available_period" bson:"available_period"` | |
OpenForFullTimeWork bool `json:"is_open_for_full_time_job" bson:"is_open_for_full_time_job"` | |
WorkingTime string `json:"working_time" bson:"working_time"` | |
EnglishCommunicationLevel string `json:"english_communication_level" bson:"english_communication_level"` | |
PortfolioLink string `json:"portfolio_link" bson:"portfolio_link"` | |
InterestedPosition []string `json:"interesting_position" bson:"interesting_position"` | |
RegisterDate int64 `json:"register_date" bson:"register_date"` | |
Skills []Skills `json:"skills" bson:"skills"` | |
PhoneNumber string `json:"phone_number" bson:"phone_number"` | |
FreelanceProjects []string `json:"freelance_projects" bson:"freelance_projects"` | |
Verification Verification `json:"verification" bson:"verification"` | |
Experience string `json:"experience" bson:"experience"` | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Skills struct { | |
SkillsID string `json:"skills_id" bson:"skills_id"` | |
Label string `json:"label" bson:"label"` | |
Value string `json:"value" bson:"value"` | |
Image string `json:"image" bson:"image"` | |
DependsOn []string `json:"depends_on" bson:"depends_on"` | |
Types string `json:"types" bson:"types"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment