subscription_dto

package
v0.0.0-...-7c35eaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyReq

type ApplyReq struct {
	Email                   string                   `json:"email" validate:"required,email"`                                // 이메일
	Name                    *string                  `json:"name"`                                                           // 이름
	Division                *string                  `json:"division"`                                                       // 소속
	PreferredCompanyArr     []int64                  `json:"preferred_company_arr" validate:"required"`                      // 회사 DB ID 배열
	PreferredCompanySizeArr []entity.CompanySizeType `json:"preferred_companySize_arr" validate:"required,dive,gte=0,lte=4"` // 회사 규모 배열 (0:스타트업, 1:중소기업, 2:중견기업, 3:대기업, 4:외국계)
	PreferredJobArr         []int64                  `json:"preferred_job_arr" validate:"required"`                          // 직무 DB ID 배열
	PreferredSkillArr       []int64                  `json:"preferred_skill_arr" validate:"required"`                        // 스킬 DB ID 배열
}

func (ApplyReq) NewSubscription

func (asr ApplyReq) NewSubscription() entity.Subscription

type ApplyRes

type ApplyRes struct {
	Ok bool `json:"ok"` // 구독 신청 메일 전송 결과
}

type ApproveReq

type ApproveReq struct {
	Token string `form:"token" json:"token" validate:"required"`
}

type ApproveRes

type ApproveRes struct {
	Ok bool `json:"ok"` // 구독 인증 결과
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL