package com.prolog.cs.biz.inbound.model;

import com.prolog.cs.biz.inbound.vo.SupervisionCodeVO;
import com.prolog.framework.core.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @Date 2021-07-05
 */

@ApiModel
@Data
@Table(value ="wms_supervision_code_small" )
public class SupervisionCodeSmall implements Serializable {
	private static final long serialVersionUID =  6537384287014396743L;
	@Id
	@AutoKey(type=AutoKey.TYPE_SNOWFLAKE)
	@ApiModelProperty(value = "ID")
	@Column(value = "id")
	private String id;

	@ApiModelProperty(value = "企业ID")
	@Column(value = "enterprise_id")
	private String enterpriseId;

	@ApiModelProperty(value = "仓库CODE")
	@Column(value = "warehouse_code")
	private String warehouseCode;

	@ApiModelProperty(value = "监管码小码 ")
	@Column(value = "supervision_code")
	private String supervisionCode;

	@ApiModelProperty(value = "商品ID")
	@Column(value = "item_id")
	private String itemId;

	@ApiModelProperty(value = "商品编码")
	@Column(value = "item_code")
	private String itemCode;

	@ApiModelProperty(value = "商品名称")
	@Column(value = "item_name")
	private String itemName;

	@ApiModelProperty(value = "状态（0出库，1未出库）默认0")
	@Column(value = "status")
	private String status;

	@ApiModelProperty(value = "批号 ")
	@Column(value = "manufacturer_lot_num")
	private String manufacturerLotNum;

	@ApiModelProperty(value = "生成日期")
	@Column(value = "production_date")
	private Date productionDate;

	@ApiModelProperty(value = "有效期至")
	@Column(value = "expired_date")
	private Date expiredDate;

	@ApiModelProperty(value = "包装数量")
	@Column(value = "pack_size")
	private String packSize;

	@ApiModelProperty(value = "批次id")
	@Column(value = "batch_id")
	private String batchId;

	@ApiModelProperty(value = "条码类型（1:监管码  2：防串码  3：唯一码）")
	@Column(value = "code_type")
	private String codeType;

	@ApiModelProperty(value = "包装级别(0大包装，1中包装，2小包装)")
	@Column(value = "pack_level")
	private String packLevel;

	@ApiModelProperty(value = "包装级别(0大包装，1中包装，2小包装)")
	@Column(value = "parent_code")
	private String parentCode;

	@ApiModelProperty(value = "创建日期")
	@Column(value = "gmt_create")
	private Date gmtCreate;

}
