package thyyxxk.webserver.entity.outpatient.interactive.complaints.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ComplaintsInquiry {
    @NotBlank(message = "开始日期不能为空！")
    private String start;
    @NotBlank(message = "结束日期不能为空！")
    private String end;
    private String extraStatement;
    private Integer replied;

    public Integer getReplied() {
        return null == replied ? -1 : replied;
    }
}
