package com.seer.teach.mp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 微信模板消息映射表
 * </p>
 *
 * @author Wang
 * @since 2025-08-08 14:56:12
 */
@Getter
@Setter
@TableName("mp_template_message_mapping")
@Schema(name = "MpTemplateMessageMappingEntity对象", description = "微信模板消息映射表")
public class MpTemplateMessageMappingEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "微信模板ID")
    @TableField("template_id")
    private String templateId;

    @Schema(description = "模板名称")
    @TableField("template_name")
    private String templateName;

    @Schema(description = "系统字段名")
    @TableField("system_field")
    private String systemField;

    @Schema(description = "微信模板字段名")
    @TableField("wechat_field")
    private String wechatField;

    @Schema(description = "字段类型(character_string/thing/number等)")
    @TableField("field_type")
    private String fieldType;

    @TableField("is_required")
    private Boolean isRequired;

    @TableField("max_length")
    private String maxLength;

    @TableField("default_value")
    private String defaultValue;

    @TableField("sample_value")
    private String sampleValue ;

    @Schema(description = "字段说明")
    @TableField("`description`")
    private String description;

}