package com.hzs.common.domain.activity.pick;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 提货操作日志表
 *
 * @author hzs
 * @since 2023-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@KeySequence("AC_PICK_LOG_SEQ")
@TableName("AC_PICK_LOG")
public class AcPickLog implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 提货表ID
     */
    @TableField("PK_PICK")
    private Long pkPick;

    /**
     * 操作人
     */
    @TableField("PK_USER")
    private Long pkUser;

    /**
     * 操作数量
     */
    @TableField("QUANTITY")
    private Integer quantity;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("OPERATOR_TIME")
    private Date operatorTime;

    /**
     * 国家
     */
    @TableField("PK_COUNTRY")
    private Integer pkCountry;

}
