package com.unis.policy.info.modular.mlpFirstDraft.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author qingsong.han
 * @description: 查询条件类
 * @create 2024-04-18 20:43
 */
@Data
public class MlpFirstDraftQueryParam implements Serializable {
    private static final long serialVersionUID = -449954358752427360L;

    /** 规划名称 */
    @ApiModelProperty(value = "规划名称", position = 7)
    private String planName;

    /** 完成日期 */
    @ApiModelProperty(value = "完成日期", position = 9)
//    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8") // 接收
    @DateTimeFormat(pattern="yyyy-MM-dd") // 返回
    private Date deadline;

}
