|
|
@@ -0,0 +1,206 @@
|
|
|
+package com.kxs.store.api.model;
|
|
|
+
|
|
|
+import java.io.Serial;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 客小爽仓库表(KxsWarehouse)表实体类
|
|
|
+ *
|
|
|
+ * @author 系统
|
|
|
+ * @since 2024-01-08 09:46:01
|
|
|
+ */
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+@Data
|
|
|
+public class KxsWarehouse extends Model<KxsWarehouse> implements Serializable {
|
|
|
+
|
|
|
+ @Serial
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键ID
|
|
|
+ */
|
|
|
+ @Schema(description = "主键ID")
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 新增时间
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
+ @Schema(description = "新增时间")
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新时间
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.UPDATE)
|
|
|
+ @Schema(description = "更新时间")
|
|
|
+ private LocalDateTime updateTime;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 删除标记,0未删除,1已删除
|
|
|
+ */
|
|
|
+ @Schema(description = "删除标记,0未删除,1已删除")
|
|
|
+ private Integer delFlag;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 版本
|
|
|
+ */
|
|
|
+ @Schema(description = "版本")
|
|
|
+ private Integer version;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库所属用户ID
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库所属用户ID")
|
|
|
+ private Integer userId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 品牌ID
|
|
|
+ */
|
|
|
+ @Schema(description = "品牌ID")
|
|
|
+ private Integer brandId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库联系人
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库联系人")
|
|
|
+ private String contacts;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库电话
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库电话")
|
|
|
+ private String warehousePhone;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库地址
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库地址")
|
|
|
+ private String warehouseAddress;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库编号
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库编号")
|
|
|
+ private String warehouseNo;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库管理员ID
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库管理员ID")
|
|
|
+ private Integer warehouseAdminId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库类型 0总仓 1分仓 2运营仓
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库类型 0总仓 1分仓 2运营仓")
|
|
|
+ private Integer warehouseType;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上级总仓ID
|
|
|
+ */
|
|
|
+ @Schema(description = "上级总仓ID")
|
|
|
+ private Integer pid;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 押金
|
|
|
+ */
|
|
|
+ @Schema(description = "押金")
|
|
|
+ private BigDecimal pledgeAmount;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 状态 0禁用 1启用
|
|
|
+ */
|
|
|
+ @Schema(description = "状态 0禁用 1启用")
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 操作人
|
|
|
+ */
|
|
|
+ @Schema(description = "操作人")
|
|
|
+ private String createBy;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 管理者邮箱
|
|
|
+ */
|
|
|
+ @Schema(description = "管理者邮箱")
|
|
|
+ private String adminEmail;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 附件地址
|
|
|
+ */
|
|
|
+ @Schema(description = "附件地址")
|
|
|
+ private String fileUrl;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 省份
|
|
|
+ */
|
|
|
+ @Schema(description = "省份")
|
|
|
+ private String province;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 城市
|
|
|
+ */
|
|
|
+ @Schema(description = "城市")
|
|
|
+ private String city;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 区县
|
|
|
+ */
|
|
|
+ @Schema(description = "区县")
|
|
|
+ private String area;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 仓库名称
|
|
|
+ */
|
|
|
+ @Schema(description = "仓库名称")
|
|
|
+ private String warehouseName;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 品牌名称
|
|
|
+ */
|
|
|
+ @Schema(description = "品牌名称")
|
|
|
+ private String brandName;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+
|