package com.cyksj.model.request.corp;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.LinkedList;

/**
 * 项目名: yicang-admin
 * 文件名: CorpWelcomeMsg
 * 创建者: JavaZou
 * 创建时间:2023/12/14 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CorpWelcomeMsg implements Serializable{

	private static final long serialVersionUID = -251799483126633723L;

	@JsonProperty("text")
	private Text text;

	@JsonProperty("welcome_code")
	private String welcomeCode;

	@JsonProperty("attachments")
	private LinkedList<Attachments> attachments;


	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	@JsonInclude(JsonInclude.Include.NON_NULL)
	public static class Text implements Serializable {
		private static final long serialVersionUID = -3714325837592848843L;

		private String content;
	}
}
