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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: tangyishan
 * @CreateTime: 2025-12-08  09:12
 * @Description: 评分明细参数
 */
@Data
public class LogisticsScoreDetailAddDto {
    /**
     * 评分主键id
     */
    @NotNull
    @Schema(description = "评分主键id")
    private Long scoreId;
    /**
     * 评分行为影响人id
     */
    @Schema(hidden = true)
    private Long influenceBy;
    /**
     * 评分行为
     */
    @NotBlank
    @Schema(description = "评分行为")
    private String action;
    /**
     *
     * 评分变动
     */
    @NotNull
    @Schema(description = "评分变动")
    private BigDecimal scoreChange;
    /**
     * 评分状态 0-待审核 1-审核通过
     */
    @Schema(hidden = true)
    private Integer status;

    /**
     * 变动后评分
     */
    @Schema(hidden = true)
    private BigDecimal score;
}
