package com.hzs.common.domain.scm.pub;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 供应链单据审批记录
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("SCM_ORDER_APPROVE_LOG_SEQ")
@TableName("SCM_ORDER_APPROVE_LOG")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ScmOrderApproveLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 单据主键
     */
    @TableField("PK_ORDER")
    private Long pkOrder;

    /**
     * 单据类型
     */
    @TableField("ORDER_TYPE")
    private Integer orderType;

    /**
     * 审核状态（1=未审核,2=审核通过,3=审核驳回）
     */
    @TableField("APPROVAL_STATUS")
    private Integer approvalStatus;

    /**
     * 修改记录单号
     */
    @TableField("BUSINESS_CODE")
    private String businessCode;

    /**
     * 备注（审核意见）
     */
    @TableField("REMARK")
    private String remark;


}
