package cn.com.victorysoft.business.sys.param;

import cn.com.victorysoft.business.util.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("单位油田区块日期分页参数")
@Data
public class UnitFieldBlockDatePageParam extends UnitFieldBlockPageParam {

    @ApiModelProperty("日期")
    private Date testdate;

    public void setTestdate(Date testdate) {
        this.testdate = DateUtils.getDiagDate(testdate);
    }
}
