package org.dromara.erp.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.erp.domain.vo.GoodsStockVo;

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

/**
 * 成品库存视图 v_Goods_Stock
 *
 * @Author: Antigravity
 */
@Data
@AutoMapper(target = GoodsStockVo.class)
@TableName("v_Goods_Stock")
public class GoodsStock implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId("ItemNo")
    private String itemNo;

    @TableField("ModelID")
    private String modelId;

    @TableField("ModelNum")
    private String modelNum;

    @TableField("ModelName")
    private String modelName;

    @TableField("ClientModel")
    private String clientModel;

    @TableField("ColorID")
    private String colorId;

    @TableField("ColorNum")
    private String colorNum;

    @TableField("ColorName")
    private String colorName;

    @TableField("ColorKind")
    private String colorKind;

    @TableField("AlloyID")
    private String alloyId;

    @TableField("AlloyName")
    private String alloyName;

    @TableField("Thick")
    private BigDecimal thick;

    @TableField("Film")
    private BigDecimal film;

    @TableField("PackID")
    private String packId;

    @TableField("PackName")
    private String packName;

    @TableField("StoreID")
    private String storeId;

    @TableField("StoreName")
    private String storeName;

    @TableField("FrameID")
    private String frameId;

    @TableField("FrameName")
    private String frameName;

    @TableField("FrameWT")
    private BigDecimal frameWt;

    @TableField("FrameBar")
    private String frameBar;

    @TableField("Flength")
    private BigDecimal flength;

    @TableField("MeterWT")
    private BigDecimal meterWt;

    @TableField("SixMeterWT")
    private BigDecimal sixMeterWt;

    @TableField("DocCode")
    private String docCode;

    @TableField("SaleQty")
    private BigDecimal saleQty;

    @TableField("Qty")
    private BigDecimal qty;

    @TableField("TheoryWT")
    private BigDecimal theoryWt;

    @TableField("WT")
    private BigDecimal wt;

    @TableField("PackPricks")
    private Integer packPricks;

    @TableField("PackPrickQty")
    private Integer packPrickQty;

    @TableField("FinishDate")
    private Date finishDate;

    @TableField("StockDays")
    private Integer stockDays;

    @TableField("ClientID")
    private String clientId;

    @TableField("ClientNum")
    private String clientNum;

    @TableField("ClientName")
    private String clientName;

    @TableField("AvgWT")
    private BigDecimal avgWt;

    @TableField("dzsj")
    private Integer dzsj;

    @TableField("OrderState")
    private String orderState;

    @TableField("IsHalf")
    private Integer isHalf;

    @TableField("FromID")
    private String fromId;

    @TableField("firstdate")
    private Date firstdate;

    @TableField("IsSurplus")
    private Integer isSurplus;

    @TableField("FromBill")
    private String fromBill;

    @TableField("ClientCode")
    private String clientCode;

    @TableField("SaleCode")
    private String saleCode;

    @TableField("OxidModelSort")
    private String oxidModelSort;
}