package com.sckw.contract.api.model.dto.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: tangyishan
 * @CreateTime: 2025-12-08  09:12
 * @Description: 评分明细参数
 */
@Data
public class LogisticsScoreDetailFeignDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 供应商企业id
     */
    @NotNull(message = "供应商企业id不能为空")
    private Long providerEntId;
    /**
     * 物流企业id
     */
    @NotNull(message = "物流企业id不能为空")
    private Long logisticsEntId;
    /**
     * 影响人手机号
     */
    @NotBlank(message = "影响人手机号")
    private String phone;
    /**
     * 评分行为
     */
    @NotBlank(message = "行为不能为空")
    private String action;
    /**
     * 评分变动
     */
    @NotNull(message = "评分变动不能为空")
    private BigDecimal scoreChange;
}
