package com.storlead.sales.pojo.dto.customer;


import com.storlead.framework.mybatis.query.QueryBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "WorkOrderSearchDTO", description = "工单查询DTO")
public class WorkOrderSearchDTO extends QueryBaseEntity {

    @ApiModelProperty(value = "工单id")
    private Long id;

    @ApiModelProperty(value = "关联客户id")
    private Long customerId;

    @ApiModelProperty(value = "归属人员")
    private Long ownerBy;

    @ApiModelProperty(value = "工单的状态：1待处理，2已撤销，3被退回，4已完成，5已确认")
    private Integer orderStatus;

    @ApiModelProperty(value = "工单类型id")
    private Integer workOrderCategoryId;

    @ApiModelProperty(value = "工单紧急状态：1:非常紧急，2:紧急，3:一般")
    private Integer urgentStatus;

    @ApiModelProperty(value = "归属人ids")
    private List<Long> ownerByIds;


}
