package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author   zhangchenbiao
 * @date   2023-05-29 03:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class HyPartnerTaskInfoLogDO implements Serializable {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("hy_partner_line_info.id")
    private Long partnerLineId;

    @ApiModelProperty("操作人id")
    private String operateUserId;

    @ApiModelProperty("操作人姓名")
    private String operateUsername;

    @ApiModelProperty("操作类型 参考代码中OperateTypeEnum")
    private String operateType;

    @ApiModelProperty("流程阶段：意向申请审核、预约面试时间、加盟资格面试、分配选址开发经理、商圈点位评估、上传店铺租赁信息、完善加盟签约信息、支付加盟费用、签订加盟合同")
    private String workflowStage;

    @ApiModelProperty("流程子状态")
    private String workflowStatus;

    @ApiModelProperty("备注")
    private String message;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("hy_partner_user_info.partner_id")
    private String partnerId;

    @ApiModelProperty("字段备份")
    private String fieldCopy;

    public HyPartnerTaskInfoLogDO(String partnerId, Long partnerLineId, String workflowStage, String workflowStatus, String operateUserId, String operateUsername, String message) {
        this.partnerId = partnerId;
        this.partnerLineId = partnerLineId;
        this.workflowStage = workflowStage;
        this.workflowStatus = workflowStatus;
        this.operateUserId = operateUserId;
        this.operateUsername = operateUsername;
        this.message = message;
    }
}