package org.sky.resource.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.sky.core.tenant.mp.TenantEntity;
import org.sky.core.tool.jackson.Sensitive;
import org.sky.core.tool.sensitive.SensitiveType;

import java.io.Serial;

/**
 * 短信配置表实体类
 *
 */
@Data
@TableName("kd_sms")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "短信配置表")
public class Sms extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 资源编号
	 */
	@Schema(description = "资源编号")
	private String smsCode;

	/**
	 * 模板ID
	 */
	@Schema(description = "模板ID")
	private String templateId;
	/**
	 * 分类
	 */
	@Schema(description = "分类")
	private Integer category;
	/**
	 * accessKey
	 */
	@Sensitive(type = SensitiveType.KEYS)
	@Schema(description = "accessKey")
	private String accessKey;
	/**
	 * secretKey
	 */
	@Sensitive(type = SensitiveType.KEYS)
	@Schema(description = "secretKey")
	private String secretKey;
	/**
	 * regionId
	 */
	@Schema(description = "regionId")
	private String regionId;
	/**
	 * appId
	 */
	@Schema(description = "appId")
	private String appId;
	/**
	 * 短信签名
	 */
	@Schema(description = "短信签名")
	private String signName;
	/**
	 * 备注
	 */
	@Schema(description = "备注")
	private String remark;


}
