package com.xunhong.erp.turbo.api.infra.dto.vo;

import com.alibaba.cola.dto.DTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@Schema(title = "渠道")
@EqualsAndHashCode(callSuper = true)
public class ChannelVO extends DTO {

	/**
	 * 渠道ID
	 */
	@Schema(title = "渠道ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long channelId;

	/**
	 * 域名
	 */
	@Schema(title = "域名")
	private String domain;

	/**
	 * Logo
	 */
	@Schema(title = "Logo")
	private String logo;

	/**
	 * 标题
	 */
	@Schema(title = "标题")
	private String title;

	/**
	 * 副标题
	 */
	@Schema(title = "副标题")
	private String subTitle;

	/**
	 * 背景图片
	 */
	@Schema(title = "背景图片")
	private String backgroundImageUrl;

	/**
	 * 技术支持
	 */
	@Schema(title = "技术支持")
	private String technicalSupport;

	/**
	 * 创建时间
	 */
	@Schema(title = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private LocalDateTime createdAt;

	/**
	 * 微信公众号Id
	 */
	@Schema(title = "微信公众号Id", type = "string")
	private Long wxMpId;

	/**
	 * 第三方应用Id
	 */
	@Schema(title = "第三方应用Id", type = "string")
	private Long wxOpenId;
}
