package thyyxxk.webserver.entity.medicalinsurance.download;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @description: 目录下载参数
 * @author: DingJie
 * @create: 2021/8/515:02
 */
@Data
public class DwnldPrm {
    private String code;
    private String medinsCode;
    private String insutype;
    private String version;
    private Date updtTime;
    private Integer pageNum;
    private Integer pageSize;

    /**
     * =================
     * 以下是字典表下载参数
     * =================
     * 字典类型
     * */
    private String type;

    /**
     * 父字典键值
     * */
    private String parentValue;

    /**
     * 行政区划
     * */
    private String admdvs;

    /**
     * 查询日期
     * */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /**
     * 有效标志
     * */
    private String valiFlag;
}
