package com.cyksj.model.kf;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 项目名: yhlxj2
 * 文件名: WxCorpMenuMsg
 * 创建者: JavaZou
 * 创建时间:2025/1/6 17:41
 */
@Getter
@Setter
public class WxCorpMenuMsg {
	//	起始文本
	private String head_content;

	/**
	 * 菜单项配置
	 */
	private List<ListData> list;

	//结束文本
	private String tail_content;

	@Getter
	@Setter
	public static class ListData{
		//类型
		private String type;

		//点击
		private Click click;

		//跳转页面
		private View view;

		//小程序
		private Miniprogram miniprogram;

		@Getter
		@Setter
		public static class Click {
			private String id;

			private String content;
		}

		@Getter
		@Setter
		public static class View {
			private String url;

			private String content;
		}

		@Getter
		@Setter
		public static class Miniprogram {
			private String appid;

			private String pagepath;

			private String content;
		}
	}
}
