package com.chushang.inspection.work.query;

import com.chushang.common.mybatis.annotation.Condition;
import com.chushang.common.mybatis.page.CommonParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class WrkDataQuery extends CommonParam {
    @Condition(name = "project_name", tableName = "p", type = Condition.ConditionType.like)
    private String projectName;
    @Condition(name = "name", tableName = "pt", type = Condition.ConditionType.like)
    private String taskName;
    @Condition(name = "dept_id", tableName = "wi")
    private Long deptId;
    @Condition(name = "dispose_time", tableName = "wi", type = Condition.ConditionType.between)
    private List<LocalDateTime> disposeTimes;

    private List<String> disposeTime;

}
