package com.yhy.module.core.controller.admin.resource.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import lombok.Data;

@Schema(description = "管理后台 - 工料机价格响应 VO")
@Data
public class ResourceItemPriceRespVO {

    @Schema(description = "价格ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "地区码", example = "BJ")
    private String regionCode;

    @Schema(description = "有效期开始时间")
    private OffsetDateTime periodStart;

    @Schema(description = "有效期结束时间")
    private OffsetDateTime periodEnd;

    @Schema(description = "不含税价格", example = "450.00")
    private BigDecimal priceTaxExcl;

    @Schema(description = "含税价格", example = "508.50")
    private BigDecimal priceTaxIncl;

    @Schema(description = "价格来源", example = "市场价")
    private String source;
}
