package com.wms_main.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 图纸表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_image", autoResultMap = true)
public class TAppImage extends BaseImportEntity {
    /**
     * 图纸id
     */
    @TableId(value = "image_id")
    private String imageId;
    /**
     * 成品号
     */
    @TableField(value = "product_id")
    private String productId;
    /**
     * 料盒号
     */
    @TableField(value = "box_no")
    private String boxNo;
    /**
     * 图纸存放地址
     */
    @TableField(value = "image_path")
    private String imagePath;
    /**
     * 图纸名称
     */
    @TableField(value = "image_name")
    private String imageName;
    /**
     * 图纸详情
     * TODO 是否存在数据流
     */
    @TableField(value = "image_detail")
    private String imageDetail;
    /**
     * 图纸对应得配料类型
     * 1：总成
     * 2：单片
     */
    @TableField(value = "image_type")
    private Integer imageType;
}
