package com.unis.crk.cplbusiness.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * <p>
 * 领用审核
 * </p>
 *
 * @author TangSong
 * @since 2022-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OllectionReview对象", description="领用审核")
public class OllectionReview implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "数据记录id")
    @TableId(value = "dataId", type = IdType.UUID)
    private String dataId;

    @ApiModelProperty(value = "单位ID")
    private String unitid;

    @ApiModelProperty(value = "条目创建人")
    private String builder;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "builderDate",fill = FieldFill.INSERT)
    private Date builderDate;

    @ApiModelProperty(value = "编辑人")
    private String editor;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "modifyDate",fill = FieldFill.INSERT_UPDATE)
    private Date modifyDate;

    @ApiModelProperty(value = "上传数据时间")
    @TableField(value = "updateTime",strategy = FieldStrategy.IGNORED,update = "null",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "领用审核单号")
    private String collectionApprovalNo;

    @ApiModelProperty(value = "领用商品")
    private String receivingGoods;

    @ApiModelProperty(value = "领用商品编号")
    private String pickingItemNo;

    @ApiModelProperty(value = "件数")
    private Integer number;

    @ApiModelProperty(value = "用途")
    private String purpose;

    @ApiModelProperty(value = "领用时间")
    @TableField("collection_time")
    private Date collectionTime;

    @ApiModelProperty(value = "审核意见")
    private String reviewComments;


}
