package com.cool.store.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author: WangShuo
 * @Date: 2024/08/29/下午2:33
 * @Version 1.0
 * @注释:
 */
@Data
public class AuditInfoResponse {

    @ApiModelProperty("操作人集合")
    private List<AuditUserInfoVO> list;
    @ApiModelProperty("操作类型 0 提交审批 1-审批通过 2 审批不通过 3-待审批")
    private Integer type;
    @ApiModelProperty("执行职位，0-加盟商提交，1-运营初审，2-总部受理")
    private Integer execute;
    @ApiModelProperty("是否处理：0-未处理,1-处理")
    private Integer status;
    @ApiModelProperty("生成时间")
    private Date createTime;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("附件")
    private String annex;
    @ApiModelProperty("实际操作人id")
    private String actualUserId;
    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @ApiModel(value = "可操作人信息")
    public static class AuditUserInfoVO {
        private String userId;
        private String name;
        @ApiModelProperty("头像")
        private String avatar;
    }
}
