package com.ozs.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ozs.common.constant.ModularConstans;
import com.ozs.common.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel(value = "BasePolicyPageReqVo", description = ModularConstans.policy+ "分页查询实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BasePolicyPageReqVo extends PageVo {

    @ApiModelProperty("法律条文或内容")
    private String name;

    // 开始时间
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    // 结束时间
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entTime;

}
