package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-13 13:43
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "BusinessInfoPageBo对象",description = "事务详情请求分页对象")
public class BusinessInfoPageBo {

    /**
     * 品牌或校区名模糊查询
     */
    @ApiModelProperty(value = "品牌或校区名模糊查询")
    private String brandOrStore;

    /**
     * 校区地址或校区名模糊查询
     */
    @ApiModelProperty(value = "校区地址或校区名模糊查询")
    private String addrOrName;

    /**
     * 事务详情状态
     */
    @ApiModelProperty(value = "事务详情状态(0：进行中;1:完成：2：挂起)")
    private Integer detailStatus;

    /**
     * 接收人
     */
    @ApiModelProperty(value = "接收人")
    private List<String> staffIds;

    /**
     * 事务id
     */
    @NotBlank(message = "事务id不能为空")
    @ApiModelProperty(value = "事务id",required = true)
    private String id;
}
