diff --git a/internal/core/domain/model/about_company_keynote_model.go b/internal/core/domain/model/about_company_keynote_model.go new file mode 100644 index 0000000..2152688 --- /dev/null +++ b/internal/core/domain/model/about_company_keynote_model.go @@ -0,0 +1,17 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type AboutCompanyKeynote struct { + ID int64 `gorm:"id,primaryKey"` + AboutCompanyID int64 + Keypoint string + PathImage *string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/about_company_model.go b/internal/core/domain/model/about_company_model.go new file mode 100644 index 0000000..8195a22 --- /dev/null +++ b/internal/core/domain/model/about_company_model.go @@ -0,0 +1,15 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type AboutCompany struct { + ID int64 `gorm:"id,primaryKey"` + Description string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/appointment_model.go b/internal/core/domain/model/appointment_model.go new file mode 100644 index 0000000..07e37c7 --- /dev/null +++ b/internal/core/domain/model/appointment_model.go @@ -0,0 +1,21 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type Appointment struct { + ID int64 `gorm:"id,primaryKey"` + ServiceID int64 + Name string + PhoneNumber string + Email string + Brief string + Budget float64 + MeetAt time.Time + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/client_section_model.go b/internal/core/domain/model/client_section_model.go new file mode 100644 index 0000000..db08f4f --- /dev/null +++ b/internal/core/domain/model/client_section_model.go @@ -0,0 +1,16 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type ClientSection struct { + ID int64 `gorm:"id,primaryKey"` + Name string + PathIcon string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/faq_section_model.go b/internal/core/domain/model/faq_section_model.go new file mode 100644 index 0000000..4feb921 --- /dev/null +++ b/internal/core/domain/model/faq_section_model.go @@ -0,0 +1,16 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type FaqSection struct { + ID int64 `gorm:"id,primaryKey"` + Title string + Description string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/hero_section_model.go b/internal/core/domain/model/hero_section_model.go new file mode 100644 index 0000000..74e9eb7 --- /dev/null +++ b/internal/core/domain/model/hero_section_model.go @@ -0,0 +1,18 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type HeroSection struct { + ID int64 `gorm:"id,primaryKey"` + Heading string + SubHeading string + PathVideo *string + PathBanner string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/our_team_model.go b/internal/core/domain/model/our_team_model.go new file mode 100644 index 0000000..1b3b44c --- /dev/null +++ b/internal/core/domain/model/our_team_model.go @@ -0,0 +1,18 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type OurTeam struct { + ID int64 `gorm:"id,primaryKey"` + Name string + Role string + PathPhoto string + Tagline string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/portofolio_detail.go b/internal/core/domain/model/portofolio_detail.go new file mode 100644 index 0000000..784cb0a --- /dev/null +++ b/internal/core/domain/model/portofolio_detail.go @@ -0,0 +1,21 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type PortofolioDetail struct { + ID int64 `gorm:"id,primaryKey"` + PortofolioSectionID int64 + Category string + ClientName string + ProjectDate time.Time + ProjectUrl *string + Title string + Description string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/portofolio_section_model.go b/internal/core/domain/model/portofolio_section_model.go new file mode 100644 index 0000000..0790eac --- /dev/null +++ b/internal/core/domain/model/portofolio_section_model.go @@ -0,0 +1,17 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type PortofolioSection struct { + ID int64 `gorm:"id,primaryKey"` + Name string + Tagline string + Thumbnail *string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/portofolio_testimonial_model.go b/internal/core/domain/model/portofolio_testimonial_model.go new file mode 100644 index 0000000..a3f50d4 --- /dev/null +++ b/internal/core/domain/model/portofolio_testimonial_model.go @@ -0,0 +1,19 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type PortofolioTestimonial struct { + ID int64 `gorm:"id,primaryKey"` + PortofolioSectionID int64 + Thumbnail string + Message string + ClientName string + Role string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +} diff --git a/internal/core/domain/model/service_section_model.go b/internal/core/domain/model/service_section_model.go new file mode 100644 index 0000000..ca2cec6 --- /dev/null +++ b/internal/core/domain/model/service_section_model.go @@ -0,0 +1,17 @@ +package model + +import ( + "time" + + "gorm.io/gorm" +) + +type ServiceSection struct { + ID int64 `gorm:"id,primaryKey"` + PathIcon string + Name string + Tagline string + CreatedAt time.Time + UpdatedAt *time.Time + DeletedAt gorm.DeletedAt `gorm:"index"` +}