package com.fjhx.entity.material;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 物料接收
 * </p>
 *
 * @author ${author}
 * @since 2022-10-11
 */
@Data
public class MaterialReceiving implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 提交用户账号
     */
    private String submitUserAccount;

    /**
     * 提交时间
     */
    private Date submitTime;

    /**
     * 接收用户账号
     */
    private String receiveUserAccount;

    /**
     * 1：出库  2：补出库
     */
    private Integer type;

    /**
     * 审批状态 （枚举定义：0=待审批，1=审批中，2=已审批，3=已驳回，4=已撤回）
     */
    @TableField("ApproveBillState")
    private Integer ApproveBillState;

    /**
     * 审批流关联id
     */
    @TableField("FlowLinkId")
    private String FlowLinkId;

    @TableField("userId")
    private String userId;

    @TableField("plcCode")
    private String plcCode;

    @TableField("stockChangeType")
    private String stockChangeType;

    private String remark;

    private String token;

}
