package com.zt.plat.module.qms.business.dic.controller.vo;

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;

@Schema(description = "管理后台 - 样品类型字典分页 Request VO")
@Data
public class DictionarySampleTypePageReqVO extends PageParam {

    @Schema(description = "父级ID", example = "8469")
    private Long parentId;

    @Schema(description = "名称,结算样、生产样、西南铜委托样、商检委托样、内部委托样、抽查委托样、内审委托样等", example = "王五")
    private String name;

    @Schema(description = "键")
    private String key;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "备注")
    private String remark;

}