package forms

import (
	"mime/multipart"
	"time"
)

type MspOrg struct {
	OrgId    uint64 `json:"org_id,string"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Country  string `json:"country"`
	TimeZone string `json:"time_zone"`
	LogoName string `json:"logo_name"`
	LogoUrl  string `json:"logo_url"`

	Website        string        `json:"website"`
	AdvertisingArr []Advertising `json:"advertising_arr"`
	CreatedBy      string        `json:"created_by"`
	UpdatedBy      string        `json:"updated_by"`
}
type CreateMspOrgResp struct {
	OrgId uint64 `json:"org_id,string"`
}
type UploadMspLogo struct {
	File *multipart.FileHeader `form:"file" binding:"required"`
}

type UploadMspLogoResp struct {
	LogoName string `json:"logo_name"`
	LogoUrl  string `json:"logo_url"`
}
type Advertising struct {
	Index   string `json:"index"`
	Heading string `json:"heading"`
	Body    string `json:"body"`
}

type CreateApikeyReq struct {
	OrgId uint64 `json:"org_id,string"`
	Email string `json:"email"`
}

type ListMspReq struct {
	OrgId    uint64 `json:"org_id,string"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Status   string `json:"status"`
	Page     uint32 `json:"page"`
	PageSize uint32 `json:"page_size"`
}

type PartnerCustomer struct {
	PartnerOrgId  uint64     `json:"partner_org_id,string"`
	Email         string     `json:"email"`
	Name          string     `json:"name"`
	CustomerOrgId uint64     `json:"customer_org_id,string"`
	Status        string     `json:"status"`
	EffectedAt    *time.Time `json:"effected_at"`
	ExpiredAt     *time.Time `json:"expired_at"`
	PartnerType   string     `json:"partner_type"`
}

type MspConfig struct {
	OrgId   uint64 `json:"org_id,string"`
	LogoImg string `json:"logo_img"`
	Status  string `json:"status"`
}

//type MspCustomerOrg struct {
//	OrgId  uint64 `json:"org_id,string"`
//	Name   string `json:"name"`
//	Status string `json:"status"`
//}
