Added CRM modules and tickets
This commit is contained in:
18
models/crm_payment_config.go
Normal file
18
models/crm_payment_config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
type CrmPaymentConfig struct {
|
||||
ID string `gorm:"primaryKey;column:id" json:"id"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
BHEndHour *int `gorm:"column:bh_end_hour" json:"bh_end_hour"`
|
||||
BHEndMinute *int `gorm:"column:bh_end_minute" json:"bh_end_minute"`
|
||||
BHStartHour *int `gorm:"column:bh_start_hour" json:"bh_start_hour"`
|
||||
BHStartMinute *int `gorm:"column:bh_start_minute" json:"bh_start_minute"`
|
||||
OnDemand *string `gorm:"column:on_demand" json:"on_demand"`
|
||||
AudioBooking *string `gorm:"column:audio_booking" json:"audio_booking"`
|
||||
VideoBooking *string `gorm:"column:video_booking" json:"video_booking"`
|
||||
TimeZone *string `gorm:"column:time_zone" json:"time_zone"`
|
||||
}
|
||||
|
||||
func (CrmPaymentConfig) TableName() string {
|
||||
return "live_payment_configs"
|
||||
}
|
||||
Reference in New Issue
Block a user