package com.zt.plat.module.base.controller.admin.templtp.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.LocalDate;

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


@Schema(description = "管理后台 - 模板条款分页 Request VO")
@Data
public class TmpItmPageReqVO extends PageParam {

    @Schema(description = "主键", example = "")
    private String id;

    @Schema(description = "条款编号")
    private String itmNum;

    @Schema(description = "条款名称", example = "")
    private String itmName;

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

    @Schema(description = "条款值")
    private String itmVal;

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

    @Schema(description = "状态")
    private String sts;
}
