package com.cyksj.model.kf;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 项目名: yhlxj2
 * 文件名: CorpKfSatisfactionMsg
 * 创建者: JavaZou
 * 创建时间:2025/1/2 14:07
 */
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CorpKfSatisfactionMsg {
	private String touser;
	private String open_kfid;
	private String msgid;
	private String msgtype;
	private MsgMenu msgmenu;
	private String code;

	@Getter
	@Setter
	public static class MsgMenu {
		private String head_content;
		private List<MenuItem> list;
		private String tail_content;

		@Getter
		@Setter
		public static class MenuItem {
			private String type;
			private Click click;
//			private View view;
//			private MiniProgram miniprogram;
//			private Text text;

			@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;
			}

			@Getter
			@Setter
			public static class Text {
				private String content;
				private int no_newline;
			}
		}
	}
}
