package com.tashow.cloud.product.vo.prodserviceoverarearules;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.tashow.cloud.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.tashow.cloud.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 超区规则分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProdServiceOverAreaRulesPageReqVO extends PageParam {

    @Schema(description = "关联的商品ID", example = "20133")
    private Long prodId;

    @Schema(description = "超区规则类型（0:拒单、2:接单并收取超区费、3:接单并免超区费）", example = "1")
    private Boolean ruleType;

    @Schema(description = "超区费用（仅在rule_type为accept_with_fee时有效）")
    private BigDecimal fee;

    @Schema(description = "规则创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "规则最后更新时间")
    private LocalDateTime updatedAt;

}