package com.xmomen.module.beforehandpackagerecord.model;

import lombok.Data;
import com.xmomen.module.beforehandpackagerecord.entity.BeforehandPackageRecord;
import org.springframework.beans.BeanUtils;

    import java.lang.String;
    import java.lang.Integer;
    import java.util.Date;
import java.io.Serializable;


public @Data class BeforehandPackageRecordCreate implements Serializable {

    // 主键ID
    private String id;

    // 商品ID
    private Integer cdItemId;

    // 包裹数量
    private Integer packageNum;

    // 插入日期
    private Date insertDate;

    // 插入用户ID
    private Integer insertUserId;

    // 更新日期
    private Date updateDate;

    // 更新用户ID
    private Integer updateUserId;

    // 获取实体对象
    public BeforehandPackageRecord getEntity(){
        BeforehandPackageRecord beforehandPackageRecord = new BeforehandPackageRecord();
        BeanUtils.copyProperties(this, beforehandPackageRecord);
        return beforehandPackageRecord;
    }
}
