package com.talentcard.server.request; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.Size; @Schema(description = "商户优惠政策浏览/咨询记录请求") public record MerchantDisplayPolicyEventRequest( @Schema(description = "人才用户ID,和人才卡ID至少传一个") Long talentId, @Schema(description = "人才卡ID,和人才用户ID至少传一个;亲属附属卡会自动使用主卡等级") Long cardId, @Schema(description = "事件类型:VIEW浏览,CONSULT咨询", requiredMode = Schema.RequiredMode.REQUIRED) String eventType, @Schema(description = "备注") @Size(max = 255, message = "备注不能超过255个字符") String remark ) { }