package com.storlead.sales.pojo.entity.systemrule;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author YPZ
 * @since 2024-07-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("approve_log")
@ApiModel(value="ApproveLogEntity对象", description="")
public class ApproveLogEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "审核记录ID")
    @TableField("approve_id")
    private Long approveId;

    @TableField("approve_user_id")
    private Long approveUserId;

    @ApiModelProperty(value = "审核人")
    @TableField("approve_user_name")
    private String approveUserName;

    @ApiModelProperty(value = "审批结果 1：通过 2：不通过 0：未审批")
    @TableField("approve_status")
    private String approveStatus;

    @TableField("approve_time")
    private LocalDateTime approveTime;

    @ApiModelProperty(value = "审批意见")
    @TableField("approve_content")
    private String approveContent;

    @ApiModelProperty(value = "1:上级审批 2:总裁审批")
    @TableField("current_node_id")
    private String currentNodeId;


}
