package com.zt.plat.module.contractorder.api.vo.contract;

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

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 结算金额拆分分页 Request VO")
@Data
public class AmountDismantlePageReqVO extends PageParam {

    @Schema(description = "物料名称", example = "赵六")
    private String materialName;

    @Schema(description = "物料编码")
    private String materialNumber;

    @Schema(description = "元素缩写")
    private String elementAbbreviation;

    @Schema(description = "元素名称", example = "张三")
    private String elementName;

    @Schema(description = "元素编码")
    private String elementCode;

    @Schema(description = "占比")
    private BigDecimal proportion;

    @Schema(description = "合同id", example = "3781")
    private Long contractId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}