package com.usky.vpp.service.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 竞价配置详情/列表项
 */
@Data
public class BiddingConfigVO {

    private Long id;
    private String configName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime effectiveStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime effectiveEnd;
    /** 适用时间段展示，如 2025-01-01 00:00:00 - 2025-06-30 23:59:59 */
    private String effectivePeriod;
    private String attachmentUrl;
    private String attachmentName;

    private Integer biddingMode;
    // private String biddingModeName;
    private BigDecimal typicalCoefficient;
    /**
     * 提前通知最小小时数（下限，不含本值，如 8 表示 >8）
     */
    private BigDecimal noticeMinHours;

    /**
     * 提前通知最大小时数（上限，含本值，如 24 表示 ≤24）
     */
    private BigDecimal noticeMaxHours;
    private BigDecimal maxPrice;
    private BigDecimal minPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
