|
@@ -0,0 +1,127 @@
|
|
|
+package com.yh.saas.plugin.yiliangyiyun.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.activerecord.Model;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotations.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotations.Version;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.enums.IdType;
|
|
|
+import com.yh.saas.common.support.entity.BaseModel;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 加权明细
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author Gdc
|
|
|
+ * @since 2021-10-08
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+@Accessors(chain = true)
|
|
|
+@TableName("weighted_details")
|
|
|
+public class WeightedDetails extends BaseModel<WeightedDetails> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @TableId(type = IdType.UUID)
|
|
|
+ private String id;
|
|
|
+ /**
|
|
|
+ * 公司id
|
|
|
+ */
|
|
|
+ private String compId;
|
|
|
+ /**
|
|
|
+ * 库点id
|
|
|
+ */
|
|
|
+ private String warehouseId;
|
|
|
+ /**
|
|
|
+ * 库点
|
|
|
+ */
|
|
|
+ private String warehouseName;
|
|
|
+ /**
|
|
|
+ * 货名key
|
|
|
+ */
|
|
|
+ private String goodsNameKey;
|
|
|
+ /**
|
|
|
+ * 货名
|
|
|
+ */
|
|
|
+ private String goodsName;
|
|
|
+ /**
|
|
|
+ * 入库类型key
|
|
|
+ */
|
|
|
+ private String inTypeKey;
|
|
|
+ /**
|
|
|
+ * 入库类型
|
|
|
+ */
|
|
|
+ private String inType;
|
|
|
+ /**
|
|
|
+ * 粮食类型key
|
|
|
+ */
|
|
|
+ private String grainTypeKey;
|
|
|
+ /**
|
|
|
+ * 粮食类型
|
|
|
+ */
|
|
|
+ private String grainType;
|
|
|
+ /**
|
|
|
+ * 净重(吨)
|
|
|
+ */
|
|
|
+ private Float netWeight;
|
|
|
+ /**
|
|
|
+ * 纯重(吨)
|
|
|
+ */
|
|
|
+ private Float pureWeight;
|
|
|
+ /**
|
|
|
+ * 价格(元/吨)
|
|
|
+ */
|
|
|
+ private Float unitPrice;
|
|
|
+ /**
|
|
|
+ * 运费
|
|
|
+ */
|
|
|
+ private Float freight;
|
|
|
+ /**
|
|
|
+ * 原库存量(吨)
|
|
|
+ */
|
|
|
+ private Float originalStock;
|
|
|
+ /**
|
|
|
+ * 入库前加权成本
|
|
|
+ */
|
|
|
+ private Float costBefore;
|
|
|
+ /**
|
|
|
+ * 入库后加权成本
|
|
|
+ */
|
|
|
+ private Float costAfter;
|
|
|
+ /**
|
|
|
+ * 状态标识
|
|
|
+ */
|
|
|
+ private String statusFlag;
|
|
|
+ /**
|
|
|
+ * 状态
|
|
|
+ */
|
|
|
+ private String status;
|
|
|
+ /**
|
|
|
+ * 状态英文
|
|
|
+ */
|
|
|
+ private String statusEn;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 年份
|
|
|
+ */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String year;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|