bug--删除注释以及完善图片素材
This commit is contained in:
@ -24,32 +24,22 @@ public class YxExpress implements Serializable {
|
||||
|
||||
/** 快递公司id */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 快递公司简称 */
|
||||
//@Column(name = "code",unique = true,nullable = false)
|
||||
//@NotBlank
|
||||
private String code;
|
||||
|
||||
|
||||
/** 快递公司全称 */
|
||||
//@Column(name = "name",nullable = false)
|
||||
//@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
/** 排序 */
|
||||
//@Column(name = "sort",nullable = false)
|
||||
//@NotNull
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 是否显示 */
|
||||
//@Column(name = "is_show",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.sql.Timestamp;
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -27,62 +25,35 @@ public class YxMaterial implements Serializable {
|
||||
|
||||
/** PK */
|
||||
@TableId
|
||||
//@Column(name = "id")
|
||||
private String id;
|
||||
|
||||
|
||||
/** 所属租户 */
|
||||
//@Column(name = "user_id",nullable = false)
|
||||
//@NotBlank
|
||||
private String userId;
|
||||
|
||||
|
||||
/** 逻辑删除标记(0:显示;1:隐藏) */
|
||||
//@Column(name = "del_flag",nullable = false)
|
||||
//@NotBlank
|
||||
@TableLogic
|
||||
@TableField(fill=FieldFill.INSERT_UPDATE)
|
||||
private Boolean delFlag;
|
||||
|
||||
|
||||
/** 创建时间 */
|
||||
//@Column(name = "create_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Timestamp createTime;
|
||||
|
||||
|
||||
/** 最后更新时间 */
|
||||
//@Column(name = "update_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT_UPDATE)
|
||||
private Timestamp updateTime;
|
||||
|
||||
|
||||
/** 创建者ID */
|
||||
//@Column(name = "create_id")
|
||||
private String createId;
|
||||
|
||||
|
||||
/** 类型1、图片;2、视频 */
|
||||
//@Column(name = "type",nullable = false)
|
||||
//@NotBlank
|
||||
private String type;
|
||||
|
||||
|
||||
/** 分组ID */
|
||||
//@Column(name = "group_id")
|
||||
private String groupId;
|
||||
|
||||
|
||||
/** 素材名 */
|
||||
//@Column(name = "name",nullable = false)
|
||||
//@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
/** 素材链接 */
|
||||
//@Column(name = "url")
|
||||
private String url;
|
||||
|
||||
|
||||
|
@ -25,46 +25,23 @@ public class YxMaterialGroup implements Serializable {
|
||||
|
||||
/** PK */
|
||||
@TableId
|
||||
//@Column(name = "id")
|
||||
private String id;
|
||||
|
||||
|
||||
/** 所属租户 */
|
||||
//@Column(name = "user_id",nullable = false)
|
||||
//@NotBlank
|
||||
private String userId;
|
||||
|
||||
|
||||
/** 逻辑删除标记(0:显示;1:隐藏) */
|
||||
//@Column(name = "del_flag",nullable = false)
|
||||
//@NotBlank
|
||||
@TableLogic
|
||||
@TableField(fill=FieldFill.INSERT_UPDATE)
|
||||
private Boolean delFlag;
|
||||
|
||||
|
||||
/** 创建时间 */
|
||||
//@Column(name = "create_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Timestamp createTime;
|
||||
|
||||
|
||||
/** 最后更新时间 */
|
||||
//@Column(name = "update_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT_UPDATE)
|
||||
private Timestamp updateTime;
|
||||
|
||||
|
||||
/** 创建者ID */
|
||||
//@Column(name = "create_id")
|
||||
private String createId;
|
||||
|
||||
|
||||
/** 分组名 */
|
||||
//@Column(name = "name",nullable = false)
|
||||
//@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
|
@ -24,62 +24,42 @@ public class YxStoreCart implements Serializable {
|
||||
|
||||
/** 购物车表ID */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Long id;
|
||||
|
||||
|
||||
/** 用户ID */
|
||||
//@Column(name = "uid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer uid;
|
||||
|
||||
|
||||
/** 类型 */
|
||||
//@Column(name = "type",nullable = false)
|
||||
//@NotBlank
|
||||
private String type;
|
||||
|
||||
|
||||
/** 商品ID */
|
||||
//@Column(name = "product_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 商品属性 */
|
||||
//@Column(name = "product_attr_unique",nullable = false)
|
||||
//@NotBlank
|
||||
private String productAttrUnique;
|
||||
|
||||
|
||||
/** 商品数量 */
|
||||
//@Column(name = "cart_num",nullable = false)
|
||||
//@NotNull
|
||||
private Integer cartNum;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 0 = 未购买 1 = 已购买 */
|
||||
//@Column(name = "is_pay",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isPay;
|
||||
|
||||
|
||||
/** 是否删除 */
|
||||
//@Column(name = "is_del",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
/** 是否为立即购买 */
|
||||
//@Column(name = "is_new",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isNew;
|
||||
|
||||
|
||||
@ -89,14 +69,10 @@ public class YxStoreCart implements Serializable {
|
||||
|
||||
|
||||
/** 秒杀产品ID */
|
||||
//@Column(name = "seckill_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer seckillId;
|
||||
|
||||
|
||||
/** 砍价id */
|
||||
//@Column(name = "bargain_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer bargainId;
|
||||
|
||||
|
||||
|
@ -24,45 +24,34 @@ public class YxStoreCategory implements Serializable {
|
||||
|
||||
/** 商品分类表ID */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 父id */
|
||||
//@Column(name = "pid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer pid;
|
||||
|
||||
|
||||
/** 分类名称 */
|
||||
//@Column(name = "cate_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String cateName;
|
||||
|
||||
|
||||
/** 排序 */
|
||||
//@Column(name = "sort")
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 图标 */
|
||||
//@Column(name = "pic")
|
||||
private String pic;
|
||||
|
||||
|
||||
/** 是否推荐 */
|
||||
//@Column(name = "is_show")
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time")
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 删除状态 */
|
||||
//@Column(name = "is_del")
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
|
@ -25,218 +25,154 @@ public class YxStoreOrder implements Serializable {
|
||||
|
||||
/** 订单ID */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 订单号 */
|
||||
//@Column(name = "order_id",nullable = false)
|
||||
//@NotBlank
|
||||
private String orderId;
|
||||
|
||||
|
||||
/** 额外订单号 */
|
||||
//@Column(name = "extend_order_id")
|
||||
private String extendOrderId;
|
||||
|
||||
|
||||
/** 用户id */
|
||||
//@Column(name = "uid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer uid;
|
||||
|
||||
|
||||
/** 用户姓名 */
|
||||
//@Column(name = "real_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String realName;
|
||||
|
||||
|
||||
/** 用户电话 */
|
||||
//@Column(name = "user_phone",nullable = false)
|
||||
//@NotBlank
|
||||
private String userPhone;
|
||||
|
||||
|
||||
/** 详细地址 */
|
||||
//@Column(name = "user_address",nullable = false)
|
||||
//@NotBlank
|
||||
private String userAddress;
|
||||
|
||||
|
||||
/** 购物车id */
|
||||
//@Column(name = "cart_id",nullable = false)
|
||||
//@NotBlank
|
||||
private String cartId;
|
||||
|
||||
|
||||
/** 运费金额 */
|
||||
//@Column(name = "freight_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal freightPrice;
|
||||
|
||||
|
||||
/** 订单商品总数 */
|
||||
//@Column(name = "total_num",nullable = false)
|
||||
//@NotNull
|
||||
private Integer totalNum;
|
||||
|
||||
|
||||
/** 订单总价 */
|
||||
//@Column(name = "total_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal totalPrice;
|
||||
|
||||
|
||||
/** 邮费 */
|
||||
//@Column(name = "total_postage",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal totalPostage;
|
||||
|
||||
|
||||
/** 实际支付金额 */
|
||||
//@Column(name = "pay_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal payPrice;
|
||||
|
||||
|
||||
/** 支付邮费 */
|
||||
//@Column(name = "pay_postage",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal payPostage;
|
||||
|
||||
|
||||
/** 抵扣金额 */
|
||||
//@Column(name = "deduction_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal deductionPrice;
|
||||
|
||||
|
||||
/** 优惠券id */
|
||||
//@Column(name = "coupon_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer couponId;
|
||||
|
||||
|
||||
/** 优惠券金额 */
|
||||
//@Column(name = "coupon_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal couponPrice;
|
||||
|
||||
|
||||
/** 支付状态 */
|
||||
//@Column(name = "paid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer paid;
|
||||
|
||||
|
||||
/** 支付时间 */
|
||||
//@Column(name = "pay_time")
|
||||
private Integer payTime;
|
||||
|
||||
|
||||
/** 支付方式 */
|
||||
//@Column(name = "pay_type",nullable = false)
|
||||
//@NotBlank
|
||||
private String payType;
|
||||
|
||||
|
||||
/** 创建时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 订单状态(-1 : 申请退款 -2 : 退货成功 0:待发货;1:待收货;2:已收货;3:待评价;-1:已退款) */
|
||||
//@Column(name = "status",nullable = false)
|
||||
//@NotNull
|
||||
private Integer status;
|
||||
|
||||
|
||||
/** 0 未退款 1 申请中 2 已退款 */
|
||||
//@Column(name = "refund_status",nullable = false)
|
||||
//@NotNull
|
||||
private Integer refundStatus;
|
||||
|
||||
|
||||
/** 退款图片 */
|
||||
//@Column(name = "refund_reason_wap_img")
|
||||
private String refundReasonWapImg;
|
||||
|
||||
|
||||
/** 退款用户说明 */
|
||||
//@Column(name = "refund_reason_wap_explain")
|
||||
private String refundReasonWapExplain;
|
||||
|
||||
|
||||
/** 退款时间 */
|
||||
//@Column(name = "refund_reason_time")
|
||||
private Integer refundReasonTime;
|
||||
|
||||
|
||||
/** 前台退款原因 */
|
||||
//@Column(name = "refund_reason_wap")
|
||||
private String refundReasonWap;
|
||||
|
||||
|
||||
/** 不退款的理由 */
|
||||
//@Column(name = "refund_reason")
|
||||
private String refundReason;
|
||||
|
||||
|
||||
/** 退款金额 */
|
||||
//@Column(name = "refund_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal refundPrice;
|
||||
|
||||
|
||||
/** 快递公司编号 */
|
||||
//@Column(name = "delivery_sn")
|
||||
private String deliverySn;
|
||||
|
||||
|
||||
/** 快递名称/送货人姓名 */
|
||||
//@Column(name = "delivery_name")
|
||||
private String deliveryName;
|
||||
|
||||
|
||||
/** 发货类型 */
|
||||
//@Column(name = "delivery_type")
|
||||
private String deliveryType;
|
||||
|
||||
|
||||
/** 快递单号/手机号 */
|
||||
//@Column(name = "delivery_id")
|
||||
private String deliveryId;
|
||||
|
||||
|
||||
/** 消费赚取积分 */
|
||||
//@Column(name = "gain_integral",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal gainIntegral;
|
||||
|
||||
|
||||
/** 使用积分 */
|
||||
//@Column(name = "use_integral",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal useIntegral;
|
||||
|
||||
|
||||
/** 给用户退了多少积分 */
|
||||
//@Column(name = "back_integral")
|
||||
private BigDecimal backIntegral;
|
||||
|
||||
|
||||
/** 备注 */
|
||||
//@Column(name = "mark",nullable = false)
|
||||
//@NotBlank
|
||||
private String mark;
|
||||
|
||||
|
||||
/** 是否删除 */
|
||||
//@Column(name = "is_del",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
@ -247,77 +183,55 @@ public class YxStoreOrder implements Serializable {
|
||||
|
||||
|
||||
/** 管理员备注 */
|
||||
//@Column(name = "remark")
|
||||
private String remark;
|
||||
|
||||
|
||||
/** 商户ID */
|
||||
//@Column(name = "mer_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer merId;
|
||||
|
||||
|
||||
//@Column(name = "is_mer_check",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isMerCheck;
|
||||
|
||||
|
||||
/** 拼团产品id0一般产品 */
|
||||
//@Column(name = "combination_id")
|
||||
private Integer combinationId;
|
||||
|
||||
|
||||
/** 拼团id 0没有拼团 */
|
||||
//@Column(name = "pink_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer pinkId;
|
||||
|
||||
|
||||
/** 成本价 */
|
||||
//@Column(name = "cost",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal cost;
|
||||
|
||||
|
||||
/** 秒杀产品ID */
|
||||
//@Column(name = "seckill_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer seckillId;
|
||||
|
||||
|
||||
/** 砍价id */
|
||||
//@Column(name = "bargain_id")
|
||||
private Integer bargainId;
|
||||
|
||||
|
||||
/** 核销码 */
|
||||
//@Column(name = "verify_code",nullable = false)
|
||||
//@NotBlank
|
||||
private String verifyCode;
|
||||
|
||||
|
||||
/** 门店id */
|
||||
//@Column(name = "store_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer storeId;
|
||||
|
||||
|
||||
/** 配送方式 1=快递 ,2=门店自提 */
|
||||
//@Column(name = "shipping_type",nullable = false)
|
||||
//@NotNull
|
||||
private Integer shippingType;
|
||||
|
||||
|
||||
/** 支付渠道(0微信公众号1微信小程序) */
|
||||
//@Column(name = "is_channel")
|
||||
private Integer isChannel;
|
||||
|
||||
|
||||
//@Column(name = "is_remind")
|
||||
private Integer isRemind;
|
||||
|
||||
|
||||
//@Column(name = "is_system_del")
|
||||
private Integer isSystemDel;
|
||||
|
||||
|
||||
|
@ -25,38 +25,27 @@ import java.io.Serializable;
|
||||
public class YxStoreOrderCartInfo implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 订单id */
|
||||
//@Column(name = "oid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer oid;
|
||||
|
||||
|
||||
/** 购物车id */
|
||||
//@Column(name = "cart_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer cartId;
|
||||
|
||||
|
||||
/** 商品ID */
|
||||
//@Column(name = "product_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 购买东西的详细信息 */
|
||||
//@Column(name = "cart_info",nullable = false)
|
||||
//@NotBlank
|
||||
private String cartInfo;
|
||||
|
||||
|
||||
/** 唯一id */
|
||||
@TableField(value = "`unique`")
|
||||
//@NotBlank
|
||||
@TableField(value = "`unique`")
|
||||
private String unique;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -25,32 +23,22 @@ import java.io.Serializable;
|
||||
public class YxStoreOrderStatus implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 订单id */
|
||||
//@Column(name = "oid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer oid;
|
||||
|
||||
|
||||
/** 操作类型 */
|
||||
//@Column(name = "change_type",nullable = false)
|
||||
//@NotBlank
|
||||
private String changeType;
|
||||
|
||||
|
||||
/** 操作备注 */
|
||||
//@Column(name = "change_message",nullable = false)
|
||||
//@NotBlank
|
||||
private String changeMessage;
|
||||
|
||||
|
||||
/** 操作时间 */
|
||||
//@Column(name = "change_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer changeTime;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -27,191 +25,146 @@ public class YxStoreProduct implements Serializable {
|
||||
|
||||
/** 商品id */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 商户Id(0为总后台管理员创建,不为0的时候是商户后台创建) */
|
||||
//@Column(name = "mer_id")
|
||||
private Integer merId;
|
||||
|
||||
|
||||
/** 商品图片 */
|
||||
//@Column(name = "image",nullable = false)
|
||||
//@NotBlank
|
||||
private String image;
|
||||
|
||||
|
||||
/** 轮播图 */
|
||||
//@Column(name = "slider_image",nullable = false)
|
||||
//@NotBlank
|
||||
private String sliderImage;
|
||||
|
||||
|
||||
/** 商品名称 */
|
||||
//@Column(name = "store_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String storeName;
|
||||
|
||||
|
||||
/** 商品简介 */
|
||||
//@Column(name = "store_info",nullable = false)
|
||||
//@NotBlank
|
||||
private String storeInfo;
|
||||
|
||||
|
||||
/** 关键字 */
|
||||
//@Column(name = "keyword",nullable = false)
|
||||
//@NotBlank
|
||||
private String keyword;
|
||||
|
||||
|
||||
/** 产品条码(一维码) */
|
||||
//@Column(name = "bar_code")
|
||||
private String barCode;
|
||||
|
||||
|
||||
/** 分类id */
|
||||
//@Column(name = "cate_id",nullable = false)
|
||||
//@NotBlank
|
||||
private String cateId;
|
||||
|
||||
|
||||
/** 商品价格 */
|
||||
//@Column(name = "price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal price;
|
||||
|
||||
|
||||
/** 会员价格 */
|
||||
//@Column(name = "vip_price")
|
||||
private BigDecimal vipPrice;
|
||||
|
||||
|
||||
/** 市场价 */
|
||||
//@Column(name = "ot_price")
|
||||
private BigDecimal otPrice;
|
||||
|
||||
|
||||
/** 邮费 */
|
||||
//@Column(name = "postage")
|
||||
private BigDecimal postage;
|
||||
|
||||
|
||||
/** 单位名 */
|
||||
//@Column(name = "unit_name")
|
||||
private String unitName;
|
||||
|
||||
|
||||
/** 排序 */
|
||||
//@Column(name = "sort")
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 销量 */
|
||||
//@Column(name = "sales")
|
||||
private Integer sales;
|
||||
|
||||
|
||||
/** 库存 */
|
||||
//@Column(name = "stock")
|
||||
private Integer stock;
|
||||
|
||||
|
||||
/** 状态(0:未上架,1:上架) */
|
||||
//@Column(name = "is_show")
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
/** 是否热卖 */
|
||||
//@Column(name = "is_hot")
|
||||
private Integer isHot;
|
||||
|
||||
|
||||
/** 是否优惠 */
|
||||
//@Column(name = "is_benefit")
|
||||
private Integer isBenefit;
|
||||
|
||||
|
||||
/** 是否精品 */
|
||||
//@Column(name = "is_best")
|
||||
private Integer isBest;
|
||||
|
||||
|
||||
/** 是否新品 */
|
||||
//@Column(name = "is_new")
|
||||
private Integer isNew;
|
||||
|
||||
|
||||
/** 产品描述 */
|
||||
//@Column(name = "description")
|
||||
private String description;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time")
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 是否包邮 */
|
||||
//@Column(name = "is_postage")
|
||||
private Integer isPostage;
|
||||
|
||||
|
||||
/** 是否删除 */
|
||||
//@Column(name = "is_del")
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
/** 商户是否代理 0不可代理1可代理 */
|
||||
//@Column(name = "mer_use")
|
||||
private Integer merUse;
|
||||
|
||||
|
||||
/** 获得积分 */
|
||||
//@Column(name = "give_integral")
|
||||
private BigDecimal giveIntegral;
|
||||
|
||||
|
||||
/** 成本价 */
|
||||
//@Column(name = "cost")
|
||||
private BigDecimal cost;
|
||||
|
||||
|
||||
/** 秒杀状态 0 未开启 1已开启 */
|
||||
//@Column(name = "is_seckill")
|
||||
private Integer isSeckill;
|
||||
|
||||
|
||||
/** 砍价状态 0未开启 1开启 */
|
||||
//@Column(name = "is_bargain")
|
||||
private Integer isBargain;
|
||||
|
||||
|
||||
/** 是否优品推荐 */
|
||||
//@Column(name = "is_good")
|
||||
private Integer isGood;
|
||||
|
||||
|
||||
/** 虚拟销量 */
|
||||
//@Column(name = "ficti")
|
||||
private Integer ficti;
|
||||
|
||||
|
||||
/** 浏览量 */
|
||||
//@Column(name = "browse")
|
||||
private Integer browse;
|
||||
|
||||
|
||||
/** 产品二维码地址(用户小程序海报) */
|
||||
//@Column(name = "code_path",nullable = false)
|
||||
//@NotBlank
|
||||
private String codePath;
|
||||
|
||||
|
||||
/** 淘宝京东1688类型 */
|
||||
//@Column(name = "soure_link")
|
||||
private String soureLink;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -25,26 +23,18 @@ import java.io.Serializable;
|
||||
public class YxStoreProductAttr implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 商品ID */
|
||||
//@Column(name = "product_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 属性名 */
|
||||
//@Column(name = "attr_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String attrName;
|
||||
|
||||
|
||||
/** 属性值 */
|
||||
//@Column(name = "attr_values",nullable = false)
|
||||
//@NotBlank
|
||||
private String attrValues;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -25,26 +23,18 @@ import java.io.Serializable;
|
||||
public class YxStoreProductAttrResult implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 商品ID */
|
||||
//@Column(name = "product_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 商品属性参数 */
|
||||
//@Column(name = "result",nullable = false)
|
||||
//@NotBlank
|
||||
private String result;
|
||||
|
||||
|
||||
/** 上次修改时间 */
|
||||
//@Column(name = "change_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer changeTime;
|
||||
|
||||
|
||||
|
@ -26,54 +26,39 @@ import java.io.Serializable;
|
||||
public class YxStoreProductAttrValue implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 商品ID */
|
||||
//@Column(name = "product_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 商品属性索引值 (attr_value|attr_value[|....]) */
|
||||
//@Column(name = "suk",nullable = false)
|
||||
//@NotBlank
|
||||
private String suk;
|
||||
|
||||
|
||||
/** 属性对应的库存 */
|
||||
//@Column(name = "stock",nullable = false)
|
||||
//@NotNull
|
||||
private Integer stock;
|
||||
|
||||
|
||||
/** 销量 */
|
||||
//@Column(name = "sales")
|
||||
private Integer sales;
|
||||
|
||||
|
||||
/** 属性金额 */
|
||||
//@Column(name = "price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal price;
|
||||
|
||||
|
||||
/** 图片 */
|
||||
//@Column(name = "image")
|
||||
private String image;
|
||||
|
||||
|
||||
/** 唯一值 */
|
||||
@TableField(value = "`unique`")
|
||||
//@NotBlank
|
||||
private String unique;
|
||||
|
||||
|
||||
/** 成本价 */
|
||||
//@Column(name = "cost",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal cost;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -26,90 +24,63 @@ public class YxStoreProductReply implements Serializable {
|
||||
|
||||
/** 评论ID */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 用户ID */
|
||||
//@Column(name = "uid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer uid;
|
||||
|
||||
|
||||
/** 订单ID */
|
||||
//@Column(name = "oid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer oid;
|
||||
|
||||
|
||||
/** 唯一id */
|
||||
@TableField(value = "`unique`")
|
||||
//@NotBlank
|
||||
@TableField(value = "`unique`")
|
||||
private String unique;
|
||||
|
||||
|
||||
/** 产品id */
|
||||
//@Column(name = "product_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 某种商品类型(普通商品、秒杀商品) */
|
||||
//@Column(name = "reply_type",nullable = false)
|
||||
//@NotBlank
|
||||
private String replyType;
|
||||
|
||||
|
||||
/** 商品分数 */
|
||||
//@Column(name = "product_score",nullable = false)
|
||||
//@NotNull
|
||||
private Integer productScore;
|
||||
|
||||
|
||||
/** 服务分数 */
|
||||
//@Column(name = "service_score",nullable = false)
|
||||
//@NotNull
|
||||
private Integer serviceScore;
|
||||
|
||||
|
||||
/** 评论内容 */
|
||||
//@Column(name = "comment",nullable = false)
|
||||
//@NotBlank
|
||||
private String comment;
|
||||
|
||||
|
||||
/** 评论图片 */
|
||||
//@Column(name = "pics",nullable = false)
|
||||
//@NotBlank
|
||||
private String pics;
|
||||
|
||||
|
||||
/** 评论时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 管理员回复内容 */
|
||||
//@Column(name = "merchant_reply_content")
|
||||
private String merchantReplyContent;
|
||||
|
||||
|
||||
/** 管理员回复时间 */
|
||||
//@Column(name = "merchant_reply_time")
|
||||
private Integer merchantReplyTime;
|
||||
|
||||
|
||||
/** 0未删除1已删除 */
|
||||
//@Column(name = "is_del",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
/** 0未回复1已回复 */
|
||||
//@Column(name = "is_reply",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isReply;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -26,29 +24,22 @@ public class YxSystemConfig implements Serializable {
|
||||
|
||||
/** 配置id */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 字段名称 */
|
||||
//@Column(name = "menu_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String menuName;
|
||||
|
||||
|
||||
/** 默认值 */
|
||||
//@Column(name = "value")
|
||||
private String value;
|
||||
|
||||
|
||||
/** 排序 */
|
||||
//@Column(name = "sort")
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 是否隐藏 */
|
||||
//@Column(name = "status")
|
||||
private Integer status;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -26,37 +24,26 @@ public class YxSystemGroupData implements Serializable {
|
||||
|
||||
/** 组合数据详情ID */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 对应的数据名称 */
|
||||
//@Column(name = "group_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String groupName;
|
||||
|
||||
|
||||
/** 数据组对应的数据值(json数据) */
|
||||
//@Column(name = "value",nullable = false)
|
||||
//@NotBlank
|
||||
private String value;
|
||||
|
||||
|
||||
/** 添加数据时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 数据排序 */
|
||||
//@Column(name = "sort")
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 状态(1:开启;2:关闭;) */
|
||||
//@Column(name = "status",nullable = false)
|
||||
//@NotNull
|
||||
private Integer status;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -25,86 +23,59 @@ import java.io.Serializable;
|
||||
public class YxSystemStore implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 门店名称 */
|
||||
//@Column(name = "name",nullable = false)
|
||||
//@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
/** 简介 */
|
||||
//@Column(name = "introduction",nullable = false)
|
||||
//@NotBlank
|
||||
private String introduction;
|
||||
|
||||
|
||||
/** 手机号码 */
|
||||
//@Column(name = "phone",nullable = false)
|
||||
//@NotBlank
|
||||
private String phone;
|
||||
|
||||
|
||||
/** 省市区 */
|
||||
//@Column(name = "address",nullable = false)
|
||||
//@NotBlank
|
||||
private String address;
|
||||
|
||||
|
||||
/** 详细地址 */
|
||||
//@Column(name = "detailed_address",nullable = false)
|
||||
//@NotBlank
|
||||
private String detailedAddress;
|
||||
|
||||
|
||||
/** 门店logo */
|
||||
//@Column(name = "image",nullable = false)
|
||||
//@NotBlank
|
||||
private String image;
|
||||
|
||||
|
||||
/** 纬度 */
|
||||
//@Column(name = "latitude",nullable = false)
|
||||
//@NotBlank
|
||||
private String latitude;
|
||||
|
||||
|
||||
/** 经度 */
|
||||
//@Column(name = "longitude",nullable = false)
|
||||
//@NotBlank
|
||||
private String longitude;
|
||||
|
||||
|
||||
/** 核销有效日期 */
|
||||
//@Column(name = "valid_time",nullable = false)
|
||||
//@NotBlank
|
||||
private String validTime;
|
||||
|
||||
|
||||
/** 每日营业开关时间 */
|
||||
//@Column(name = "day_time",nullable = false)
|
||||
//@NotBlank
|
||||
private String dayTime;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 是否显示 */
|
||||
//@Column(name = "is_show",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
/** 是否删除 */
|
||||
//@Column(name = "is_del",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -25,65 +23,47 @@ import java.io.Serializable;
|
||||
public class YxSystemStoreStaff implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 微信用户id */
|
||||
//@Column(name = "uid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer uid;
|
||||
|
||||
|
||||
/** 店员头像 */
|
||||
//@Column(name = "avatar",nullable = false)
|
||||
//@NotBlank
|
||||
private String avatar;
|
||||
|
||||
|
||||
/** 门店id */
|
||||
//@Column(name = "store_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer storeId;
|
||||
|
||||
|
||||
/** 店员名称 */
|
||||
//@Column(name = "staff_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String staffName;
|
||||
|
||||
|
||||
/** 手机号码 */
|
||||
//@Column(name = "phone",nullable = false)
|
||||
//@NotBlank
|
||||
private String phone;
|
||||
|
||||
|
||||
/** 核销开关 */
|
||||
//@Column(name = "verify_status",nullable = false)
|
||||
//@NotNull
|
||||
private Integer verifyStatus;
|
||||
|
||||
|
||||
/** 状态 */
|
||||
//@Column(name = "status")
|
||||
private Integer status;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time")
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 微信昵称 */
|
||||
//@Column(name = "nickname",nullable = false)
|
||||
//@NotBlank
|
||||
private String nickname;
|
||||
|
||||
|
||||
/** 所属门店 */
|
||||
//@Column(name = "store_name")
|
||||
private String storeName;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -26,91 +24,63 @@ import java.io.Serializable;
|
||||
public class YxSystemUserLevel implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 商户id */
|
||||
//@Column(name = "mer_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer merId;
|
||||
|
||||
|
||||
/** 会员名称 */
|
||||
//@Column(name = "name",nullable = false)
|
||||
//@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
/** 购买金额 */
|
||||
//@Column(name = "money",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal money;
|
||||
|
||||
|
||||
/** 有效时间 */
|
||||
//@Column(name = "valid_date",nullable = false)
|
||||
//@NotNull
|
||||
private Integer validDate;
|
||||
|
||||
|
||||
/** 是否为永久会员 */
|
||||
//@Column(name = "is_forever",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isForever;
|
||||
|
||||
|
||||
/** 是否购买,1=购买,0=不购买 */
|
||||
//@Column(name = "is_pay",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isPay;
|
||||
|
||||
|
||||
/** 是否显示 1=显示,0=隐藏 */
|
||||
//@Column(name = "is_show",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
/** 会员等级 */
|
||||
//@Column(name = "grade",nullable = false)
|
||||
//@NotNull
|
||||
private Integer grade;
|
||||
|
||||
|
||||
/** 享受折扣 */
|
||||
//@Column(name = "discount",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal discount;
|
||||
|
||||
/** 会员卡背景 */
|
||||
//@Column(name = "image",nullable = false)
|
||||
//@NotBlank
|
||||
private String image;
|
||||
|
||||
|
||||
/** 会员图标 */
|
||||
//@Column(name = "icon",nullable = false)
|
||||
//@NotBlank
|
||||
private String icon;
|
||||
|
||||
|
||||
/** 说明 */
|
||||
@TableField(value = "`explain`")
|
||||
//@NotBlank
|
||||
@TableField(value = "`explain`")
|
||||
private String explain;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 是否删除.1=删除,0=未删除 */
|
||||
//@Column(name = "is_del",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@ -25,68 +23,47 @@ import java.io.Serializable;
|
||||
public class YxSystemUserTask implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 任务名称 */
|
||||
//@Column(name = "name",nullable = false)
|
||||
//@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
/** 配置原名 */
|
||||
//@Column(name = "real_name",nullable = false)
|
||||
//@NotBlank
|
||||
private String realName;
|
||||
|
||||
|
||||
/** 任务类型 */
|
||||
//@Column(name = "task_type",nullable = false)
|
||||
//@NotBlank
|
||||
private String taskType;
|
||||
|
||||
|
||||
/** 限定数 */
|
||||
//@Column(name = "number",nullable = false)
|
||||
//@NotNull
|
||||
private Integer number;
|
||||
|
||||
|
||||
/** 等级id */
|
||||
//@Column(name = "level_id",nullable = false)
|
||||
//@NotNull
|
||||
private Integer levelId;
|
||||
|
||||
|
||||
/** 排序 */
|
||||
//@Column(name = "sort",nullable = false)
|
||||
//@NotNull
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 是否显示 */
|
||||
//@Column(name = "is_show",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
/** 是否务必达成任务,1务必达成,0=满足其一 */
|
||||
//@Column(name = "is_must",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isMust;
|
||||
|
||||
|
||||
/** 任务说明 */
|
||||
//@Column(name = "illustrate",nullable = false)
|
||||
//@NotBlank
|
||||
private String illustrate;
|
||||
|
||||
|
||||
/** 新增时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -29,183 +27,135 @@ public class YxUser implements Serializable {
|
||||
|
||||
|
||||
/** 用户账户(跟accout一样) */
|
||||
//@Column(name = "username")
|
||||
private String username;
|
||||
|
||||
|
||||
/** 用户账号 */
|
||||
//@Column(name = "account",nullable = false)
|
||||
//@NotBlank
|
||||
private String account;
|
||||
|
||||
|
||||
/** 用户密码(跟pwd) */
|
||||
//@Column(name = "password")
|
||||
private String password;
|
||||
|
||||
|
||||
/** 用户密码 */
|
||||
//@Column(name = "pwd",nullable = false)
|
||||
//@NotBlank
|
||||
private String pwd;
|
||||
|
||||
|
||||
/** 真实姓名 */
|
||||
//@Column(name = "real_name")
|
||||
private String realName;
|
||||
|
||||
|
||||
/** 生日 */
|
||||
//@Column(name = "birthday")
|
||||
private Integer birthday;
|
||||
|
||||
|
||||
/** 身份证号码 */
|
||||
//@Column(name = "card_id")
|
||||
private String cardId;
|
||||
|
||||
|
||||
/** 用户备注 */
|
||||
//@Column(name = "mark")
|
||||
private String mark;
|
||||
|
||||
|
||||
/** 合伙人id */
|
||||
//@Column(name = "partner_id")
|
||||
private Integer partnerId;
|
||||
|
||||
|
||||
/** 用户分组id */
|
||||
//@Column(name = "group_id")
|
||||
private Integer groupId;
|
||||
|
||||
|
||||
/** 用户昵称 */
|
||||
//@Column(name = "nickname")
|
||||
private String nickname;
|
||||
|
||||
|
||||
/** 用户头像 */
|
||||
//@Column(name = "avatar")
|
||||
private String avatar;
|
||||
|
||||
|
||||
/** 手机号码 */
|
||||
//@Column(name = "phone")
|
||||
private String phone;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 添加ip */
|
||||
//@Column(name = "add_ip")
|
||||
private String addIp;
|
||||
|
||||
|
||||
/** 最后一次登录时间 */
|
||||
//@Column(name = "last_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer lastTime;
|
||||
|
||||
|
||||
/** 最后一次登录ip */
|
||||
//@Column(name = "last_ip")
|
||||
private String lastIp;
|
||||
|
||||
|
||||
/** 用户余额 */
|
||||
//@Column(name = "now_money",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal nowMoney;
|
||||
|
||||
|
||||
/** 佣金金额 */
|
||||
//@Column(name = "brokerage_price",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal brokeragePrice;
|
||||
|
||||
|
||||
/** 用户剩余积分 */
|
||||
//@Column(name = "integral",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal integral;
|
||||
|
||||
|
||||
/** 连续签到天数 */
|
||||
//@Column(name = "sign_num",nullable = false)
|
||||
//@NotNull
|
||||
private Integer signNum;
|
||||
|
||||
|
||||
/** 1为正常,0为禁止 */
|
||||
//@Column(name = "status",nullable = false)
|
||||
//@NotNull
|
||||
private Integer status;
|
||||
|
||||
|
||||
/** 等级 */
|
||||
//@Column(name = "level",nullable = false)
|
||||
//@NotNull
|
||||
private Integer level;
|
||||
|
||||
|
||||
/** 推广元id */
|
||||
//@Column(name = "spread_uid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer spreadUid;
|
||||
|
||||
|
||||
/** 推广员关联时间 */
|
||||
//@Column(name = "spread_time",nullable = false)
|
||||
//@NotNull
|
||||
private Integer spreadTime;
|
||||
|
||||
|
||||
/** 用户类型 */
|
||||
//@Column(name = "user_type",nullable = false)
|
||||
//@NotBlank
|
||||
private String userType;
|
||||
|
||||
|
||||
/** 是否为推广员 */
|
||||
//@Column(name = "is_promoter",nullable = false)
|
||||
//@NotNull
|
||||
private Integer isPromoter;
|
||||
|
||||
|
||||
/** 用户购买次数 */
|
||||
//@Column(name = "pay_count")
|
||||
private Integer payCount;
|
||||
|
||||
|
||||
/** 下级人数 */
|
||||
//@Column(name = "spread_count")
|
||||
private Integer spreadCount;
|
||||
|
||||
|
||||
/** 清理会员时间 */
|
||||
//@Column(name = "clean_time")
|
||||
private Integer cleanTime;
|
||||
|
||||
|
||||
/** 详细地址 */
|
||||
//@Column(name = "addres",nullable = false)
|
||||
//@NotBlank
|
||||
private String addres;
|
||||
|
||||
|
||||
/** 管理员编号 */
|
||||
//@Column(name = "adminid")
|
||||
private Integer adminid;
|
||||
|
||||
|
||||
/** 用户登陆类型,h5,wechat,routine */
|
||||
//@Column(name = "login_type",nullable = false)
|
||||
//@NotBlank
|
||||
private String loginType;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -27,74 +25,51 @@ public class YxUserBill implements Serializable {
|
||||
|
||||
/** 用户账单id */
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 用户uid */
|
||||
//@Column(name = "uid",nullable = false)
|
||||
//@NotNull
|
||||
private Integer uid;
|
||||
|
||||
|
||||
/** 关联id */
|
||||
//@Column(name = "link_id",nullable = false)
|
||||
//@NotBlank
|
||||
private String linkId;
|
||||
|
||||
|
||||
/** 0 = 支出 1 = 获得 */
|
||||
//@Column(name = "pm",nullable = false)
|
||||
//@NotNull
|
||||
private Integer pm;
|
||||
|
||||
|
||||
/** 账单标题 */
|
||||
//@Column(name = "title",nullable = false)
|
||||
//@NotBlank
|
||||
private String title;
|
||||
|
||||
|
||||
/** 明细种类 */
|
||||
//@Column(name = "category",nullable = false)
|
||||
//@NotBlank
|
||||
private String category;
|
||||
|
||||
|
||||
/** 明细类型 */
|
||||
//@Column(name = "type",nullable = false)
|
||||
//@NotBlank
|
||||
private String type;
|
||||
|
||||
|
||||
/** 明细数字 */
|
||||
//@Column(name = "number",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal number;
|
||||
|
||||
|
||||
/** 剩余 */
|
||||
//@Column(name = "balance",nullable = false)
|
||||
//@NotNull
|
||||
private BigDecimal balance;
|
||||
|
||||
|
||||
/** 备注 */
|
||||
//@Column(name = "mark",nullable = false)
|
||||
//@NotBlank
|
||||
private String mark;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time",nullable = false)
|
||||
//@NotNull
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 0 = 带确定 1 = 有效 -1 = 无效 */
|
||||
//@Column(name = "status",nullable = false)
|
||||
//@NotNull
|
||||
private Integer status;
|
||||
|
||||
|
||||
|
@ -11,8 +11,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
@ -26,53 +24,43 @@ import java.io.Serializable;
|
||||
public class YxUserRecharge implements Serializable {
|
||||
|
||||
@TableId
|
||||
//@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
//@Column(name = "id")
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 充值用户UID */
|
||||
//@Column(name = "uid")
|
||||
private Integer uid;
|
||||
|
||||
|
||||
/** 订单号 */
|
||||
//@Column(name = "order_id",unique = true)
|
||||
private String orderId;
|
||||
|
||||
|
||||
/** 充值金额 */
|
||||
//@Column(name = "price")
|
||||
private BigDecimal price;
|
||||
|
||||
|
||||
/** 充值类型 */
|
||||
//@Column(name = "recharge_type")
|
||||
private String rechargeType;
|
||||
|
||||
|
||||
/** 是否充值 */
|
||||
//@Column(name = "paid")
|
||||
private Integer paid;
|
||||
|
||||
|
||||
/** 充值支付时间 */
|
||||
//@Column(name = "pay_time")
|
||||
private Integer payTime;
|
||||
|
||||
|
||||
/** 充值时间 */
|
||||
//@Column(name = "add_time")
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 退款金额 */
|
||||
//@Column(name = "refund_price")
|
||||
private BigDecimal refundPrice;
|
||||
|
||||
|
||||
/** 昵称 */
|
||||
//@Column(name = "nickname")
|
||||
private String nickname;
|
||||
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
* 一经发现盗用、分享等行为,将追究法律责任,后果自负
|
||||
*/
|
||||
package co.yixiang.modules.shop.domain;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
@ -27,124 +29,95 @@ public class YxWechatUser implements Serializable {
|
||||
|
||||
|
||||
/** 只有在用户将公众号绑定到微信开放平台帐号后,才会出现该字段 */
|
||||
//@Column(name = "unionid")
|
||||
private String unionid;
|
||||
|
||||
|
||||
/** 用户的标识,对当前公众号唯一 */
|
||||
//@Column(name = "openid",unique = true)
|
||||
private String openid;
|
||||
|
||||
|
||||
/** 小程序唯一身份ID */
|
||||
//@Column(name = "routine_openid")
|
||||
private String routineOpenid;
|
||||
|
||||
|
||||
/** 用户的昵称 */
|
||||
//@Column(name = "nickname",nullable = false)
|
||||
//@NotBlank
|
||||
private String nickname;
|
||||
|
||||
|
||||
/** 用户头像 */
|
||||
//@Column(name = "headimgurl",nullable = false)
|
||||
//@NotBlank
|
||||
private String headimgurl;
|
||||
|
||||
|
||||
/** 用户的性别,值为1时是男性,值为2时是女性,值为0时是未知 */
|
||||
//@Column(name = "sex",nullable = false)
|
||||
//@NotNull
|
||||
private Integer sex;
|
||||
|
||||
|
||||
/** 用户所在城市 */
|
||||
//@Column(name = "city",nullable = false)
|
||||
//@NotBlank
|
||||
private String city;
|
||||
|
||||
|
||||
/** 用户的语言,简体中文为zh_CN */
|
||||
//@Column(name = "language",nullable = false)
|
||||
//@NotBlank
|
||||
private String language;
|
||||
|
||||
|
||||
/** 用户所在省份 */
|
||||
//@Column(name = "province",nullable = false)
|
||||
//@NotBlank
|
||||
private String province;
|
||||
|
||||
|
||||
/** 用户所在国家 */
|
||||
//@Column(name = "country",nullable = false)
|
||||
//@NotBlank
|
||||
private String country;
|
||||
|
||||
|
||||
/** 公众号运营者对粉丝的备注,公众号运营者可在微信公众平台用户管理界面对粉丝添加备注 */
|
||||
//@Column(name = "remark")
|
||||
private String remark;
|
||||
|
||||
|
||||
/** 用户所在的分组ID(兼容旧的用户分组接口) */
|
||||
//@Column(name = "groupid")
|
||||
private Integer groupid;
|
||||
|
||||
|
||||
/** 用户被打上的标签ID列表 */
|
||||
//@Column(name = "tagid_list")
|
||||
private String tagidList;
|
||||
|
||||
|
||||
/** 用户是否订阅该公众号标识 */
|
||||
//@Column(name = "subscribe")
|
||||
private Integer subscribe;
|
||||
|
||||
|
||||
/** 关注公众号时间 */
|
||||
//@Column(name = "subscribe_time")
|
||||
private Integer subscribeTime;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
//@Column(name = "add_time")
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
/** 一级推荐人 */
|
||||
//@Column(name = "stair")
|
||||
private Integer stair;
|
||||
|
||||
|
||||
/** 二级推荐人 */
|
||||
//@Column(name = "second")
|
||||
private Integer second;
|
||||
|
||||
|
||||
/** 一级推荐人订单 */
|
||||
//@Column(name = "order_stair")
|
||||
private Integer orderStair;
|
||||
|
||||
|
||||
/** 二级推荐人订单 */
|
||||
//@Column(name = "order_second")
|
||||
private Integer orderSecond;
|
||||
|
||||
|
||||
/** 佣金 */
|
||||
//@Column(name = "now_money")
|
||||
private BigDecimal nowMoney;
|
||||
|
||||
|
||||
/** 小程序用户会话密匙 */
|
||||
//@Column(name = "session_key")
|
||||
private String sessionKey;
|
||||
|
||||
|
||||
/** 用户类型 */
|
||||
//@Column(name = "user_type")
|
||||
private String userType;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user