package com.zt.plat.module.base.api.materialgradeext.dto;

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
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;

@Data
public class MaterialGradeExtPageReqDTO extends PageParam {

    private String companyCode;
    private String companyName;
    private String materialCode;
    private String materialName;
    private String chineseBrand;
    private String englishBrand;
    private String specificationModel;
    private String lineType;
    private String packageDesc;

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