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 UnitDateWellPageParam extends PageParam {

    @ApiModelProperty("单位代码")
    private String unitcode;

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

    @ApiModelProperty("井号")
    private String wellname;

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