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 WellDateParam {

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

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

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