package http_model

import "time"

type ExecuteDataRequest struct {
	ProjectId string `json:"project_id"`
}

type ExecuteDataResponse struct {
	Excutetime      time.Time     `json:"recruit_time"`
	PreSketchNum    int64         `json:"presketch_num"`
	SketchNum       int64         `json:"sketch_num"`
	SketchAccNum    int64         `json:"sketch_accept_num"`
	AvgAccTime      time.Duration `json:"avg_acc_time"`
	AvgCreTime      time.Duration `json:"avg_cre_time"`
	FirAccRatio     float64       `json:"fir_acc_ratio"`
	PreLinkNum      int64         `json:"pre_link_num"`
	LinkNum         int64         `json:"link_num"`
	LinkAccNum      int64         `json:"link_accept_num"`
	AvgLinkAccTime  time.Duration `json:"avg_link_acc_time"`
	AvgBackTime     time.Duration `json:"avg_back_time"`
	FirAccLinkRatio float64       `json:"fir_acc_link_ratio"`
	PreDataNum      int64         `json:"pre_data_num"`
	DataNum         int64         `json:"data_num"`
	DefaultNum      int64         `json:"default_num"`
	DefaultRatio    float64       `json:"default_ratio"`
	DraftFee        float64       `json:"draft_fee"`
	Settle_Amount   float64       `json:"settle_amount"`
}

func NewExecuteDataRequest() *ExecuteDataRequest {
	return new(ExecuteDataRequest)
}

func NewExecuteDataResponse() *CommonResponse {
	resp := new(CommonResponse)
	resp.Data = new(ExecuteDataResponse)
	return resp
}
