package request

type ISheet struct {
	ScrollTop            int        `json:"scrollTop"`
	ScrollLeft           int        `json:"scrollLeft"`
	Index                string     `json:"index"`
	Status               int        `json:"status"`
	JfGirdSelectSave     []struct{} `json:"jfgird_select_save"`
	LuckySheetSelectSave []struct{} `json:"luckysheet_select_save"`
	Data                 [][]*struct {
		Ct struct {
			Fa string `json:"fa"`
			T  string `json:"t"`
		} `json:"ct"`
		M string  `json:"m"`
		V float64 `json:"v"`
	} `json:"data"`
	Config map[string]struct {
	} `json:"config"`
	VisibleDataRow           []int            `json:"visibledatarow"`
	VisibleDataColumn        []int            `json:"visibledatacolumn"`
	ChWidth                  int              `json:"ch_width"`
	RhHeight                 int              `json:"rh_height"`
	LuckySheetSelectionRange []int            `json:"luckysheet_selection_range"`
	ZoomRatio                float64          `json:"zoomRatio"`
	CellData                 []ISheetCellData `json:"celldata"`
}
type ISheetData struct {
	M  string       `json:"m"`
	Ct ISheetDataCt `json:"ct"`
	V  string       `json:"v"`
}

type ISheetDataCt struct {
	Fa string `json:"fa"`
	T  string `json:"t"`
}

type ISheetCellData struct {
	R int        `json:"r"`
	C int        `json:"c"`
	V ISheetData `json:"v"`
}

type SheetData struct {
	Data [][]*struct {
		Ct struct {
			Fa string `json:"fa"`
			T  string `json:"t"`
		} `json:"ct"`
		M string  `json:"m"`
		V float64 `json:"v"`
	} `json:"data"`
}