package com.yuchen.saas.payment.api.entity.invoice;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * @Author 蔡文强
 * @Date 2023/9/13 15:56
 * @Description 开票FAQ表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_invoice_faq")
@ApiModel(value = "SaasInvoiceFaq对象", description = "开票FAQ表")
public class SaasInvoiceFaq extends BaseEntity {

    /**
     * 问(Q)
     */
    @ApiModelProperty(name = "question", value = "问(Q)")
    private String question;
    /**
     * 答(A)
     */
    @ApiModelProperty(name = "answer", value = "答(A)")
    private String answer;
    /**
     * 应用ID
     */
    @ApiModelProperty(name = "appId", value = "应用ID")
    @NotBlank(message = "应用ID不能为空")
    private String appId;

}
