|
|
@@ -0,0 +1,213 @@
|
|
|
+/*
|
|
|
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
|
|
+ *
|
|
|
+ * Redistribution and use in source and binary forms, with or without
|
|
|
+ * modification, are permitted provided that the following conditions are met:
|
|
|
+ *
|
|
|
+ * Redistributions of source code must retain the above copyright notice,
|
|
|
+ * this list of conditions and the following disclaimer.
|
|
|
+ * Redistributions in binary form must reproduce the above copyright
|
|
|
+ * notice, this list of conditions and the following disclaimer in the
|
|
|
+ * documentation and/or other materials provided with the distribution.
|
|
|
+ * Neither the name of the dreamlu.net developer nor the names of its
|
|
|
+ * contributors may be used to endorse or promote products derived from
|
|
|
+ * this software without specific prior written permission.
|
|
|
+ * Author: Chill 庄骞 (smallchill@163.com)
|
|
|
+ */
|
|
|
+package org.springblade.mocha.entity;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 出口价格库实体类
|
|
|
+ *
|
|
|
+ * @author BladeX
|
|
|
+ * @since 2021-12-06
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@TableName("basic_price_bank")
|
|
|
+@ApiModel(value = "PriceBank对象", description = "出口价格库")
|
|
|
+public class PriceBank implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "主键")
|
|
|
+ private Long id;
|
|
|
+ /**
|
|
|
+ * 货物id
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "货物id")
|
|
|
+ private Long itemId;
|
|
|
+ /**
|
|
|
+ * 商品编码
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "商品编码")
|
|
|
+ private String code;
|
|
|
+ /**
|
|
|
+ * 商品名称
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "商品名称")
|
|
|
+ private String cname;
|
|
|
+ /**
|
|
|
+ * 规格
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "规格")
|
|
|
+ private String specs;
|
|
|
+ /**
|
|
|
+ * 产品属性
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "产品属性")
|
|
|
+ private String goodNature;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 供应商
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "供应商")
|
|
|
+ private Long corpId;
|
|
|
+ /**
|
|
|
+ * 供应商名称
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "供应商名称")
|
|
|
+ private String corpName;
|
|
|
+ /**
|
|
|
+ * 币别
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "币别")
|
|
|
+ private String currency;
|
|
|
+ /**
|
|
|
+ * FOB系数
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "FOB系数")
|
|
|
+ private BigDecimal coefficient;
|
|
|
+ /**
|
|
|
+ * 价格类型 销售价格 XS 采购价格 CG
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "价格类型 销售价格 XS 采购价格 CG")
|
|
|
+ private String billType;
|
|
|
+ /**
|
|
|
+ * 价格类型(枚举:国内、进口、出口)
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "价格类型(枚举:国内、进口、出口)")
|
|
|
+ private String tradeType;
|
|
|
+ /**
|
|
|
+ * 有效期开始
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "有效期开始")
|
|
|
+ private Date startTime;
|
|
|
+ /**
|
|
|
+ * 有效期结束
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "有效期结束")
|
|
|
+ private Date endTime;
|
|
|
+ /**
|
|
|
+ * 采购人或销售人
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "采购人或销售人")
|
|
|
+ private String person;
|
|
|
+ /**
|
|
|
+ * 最新采购价或最新销售价
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "最新采购价或最新销售价")
|
|
|
+ private BigDecimal price;
|
|
|
+ /**
|
|
|
+ * 最新价格日期
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "最新价格日期")
|
|
|
+ private Date priceTime;
|
|
|
+ /**
|
|
|
+ * 历史价格1
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "历史价格1")
|
|
|
+ private BigDecimal priceOne;
|
|
|
+ /**
|
|
|
+ * 历史价格日期
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "历史价格日期")
|
|
|
+ private Date priceOneTime;
|
|
|
+ /**
|
|
|
+ * 历史价格2
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "历史价格2")
|
|
|
+ private BigDecimal priceTwo;
|
|
|
+ /**
|
|
|
+ * 历史价格日期
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "历史价格日期")
|
|
|
+ private Date priceTwoTime;
|
|
|
+ /**
|
|
|
+ * 历史价格3
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "历史价格3")
|
|
|
+ private BigDecimal priceThree;
|
|
|
+ /**
|
|
|
+ * 历史价格日期
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "历史价格日期")
|
|
|
+ private Date priceThreeTime;
|
|
|
+ /**
|
|
|
+ * 采购备注或销售备注
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "采购备注或销售备注")
|
|
|
+ private String remarks;
|
|
|
+ /**
|
|
|
+ * 版本
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "版本")
|
|
|
+ private String version;
|
|
|
+ /**
|
|
|
+ * 租户id
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "租户id")
|
|
|
+ private String tenantId;
|
|
|
+ /**
|
|
|
+ * 创建人
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "创建人")
|
|
|
+ private Long createUser;
|
|
|
+ /**
|
|
|
+ * 创建部门
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "创建部门")
|
|
|
+ private Long createDept;
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
+ private Date createTime;
|
|
|
+ /**
|
|
|
+ * 修改人
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "修改人")
|
|
|
+ private Long updateUser;
|
|
|
+ /**
|
|
|
+ * 修改时间
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "修改时间")
|
|
|
+ private Date updateTime;
|
|
|
+ /**
|
|
|
+ * 状态(0 正常 1停用)
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "状态(0 正常 1停用)")
|
|
|
+ private Integer status;
|
|
|
+ /**
|
|
|
+ * 是否已删除(0 否 1是)
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "是否已删除(0 否 1是)")
|
|
|
+ @TableLogic
|
|
|
+ private Integer isDeleted;
|
|
|
+
|
|
|
+
|
|
|
+}
|