package com.zsElectric.boot.business.model.form.applet;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户反馈表单对象
 *
 * @author wzq
 * @since 2025-11-26 15:37
 */
@Getter
@Setter
@Schema(description = "用户反馈表单对象")
public class AppFeedbackForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "问题类型（1投诉吐槽，2功能异常，3体验问题，4功能建议，9其他 ）")
    private Integer type;

    @Schema(description = "问题描述")
    @Size(max=500, message="问题描述长度不能超过500个字符")
    private String description;

    @Schema(description = "相关图片地址")
    @Size(max=600, message="相关图片地址长度不能超过600个字符")
    private String images;

    @Schema(description = "联系方式(手机号或者邮箱)")
    @Size(max=255, message="联系方式(手机号或者邮箱)长度不能超过255个字符")
    private String contactWay;
}
