package com.engine.organization.entity.staff.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @description:
 * @author:dxfeng
 * @createTime: 2022/06/07
 * @version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StaffsPO {
    /**
     * 主键
     */
    private Long id;
    /**
     * 编制ID
     */
    private Long staffId;
    /**
     * 业务类型
     * <p>
     * 1:编制
     * <p>
     * 2:变更
     * <p>
     * 3:冻结
     * <p>
     * 4:冻结释放
     * <p>
     * 5:扣减
     * <p>
     * 6:减员释放
     */
    private Integer businessType;
    /**
     * 编制变动数
     */
    private Integer changeNum;
    /**
     * 业务来源
     * <p>
     * 1：直接调整
     * <p>
     * 2：流程
     */
    private Integer businessSource;
    /**
     * 关联流程
     */
    private Integer requestId;

    /**
     * 调整说明
     */
    private String description;

    private Long creator;
    private int deleteType;
    private Date createTime;
    private Date updateTime;
}
