|
@@ -9,6 +9,9 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import cn.hobbystocks.auc.common.core.domain.BaseEntity;
|
|
import cn.hobbystocks.auc.common.core.domain.BaseEntity;
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.*;
|
|
import lombok.*;
|
|
|
import nonapi.io.github.classgraph.json.Id;
|
|
import nonapi.io.github.classgraph.json.Id;
|
|
|
|
|
|
|
@@ -20,6 +23,7 @@ import javax.validation.constraints.NotBlank;
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@TableName("lot")
|
|
@TableName("lot")
|
|
|
|
|
+@ApiModel("拍品")
|
|
|
public class Lot extends BaseEntity
|
|
public class Lot extends BaseEntity
|
|
|
{
|
|
{
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -29,134 +33,166 @@ public class Lot extends BaseEntity
|
|
|
|
|
|
|
|
/** 商品ID */
|
|
/** 商品ID */
|
|
|
@NotBlank(message = "goodsId is empty")
|
|
@NotBlank(message = "goodsId is empty")
|
|
|
|
|
+ @ApiModelProperty("商品id")
|
|
|
private String goodsId;
|
|
private String goodsId;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("商品名称")
|
|
|
private String goodsName;
|
|
private String goodsName;
|
|
|
|
|
|
|
|
- @NotBlank(message = "goodsType is empty")
|
|
|
|
|
|
|
+ @ApiModelProperty("商品类型:默认sku")
|
|
|
private String goodsType;
|
|
private String goodsType;
|
|
|
|
|
|
|
|
/** 拍卖会ID */
|
|
/** 拍卖会ID */
|
|
|
|
|
+ @ApiModelProperty("拍卖会id")
|
|
|
private Long auctionId;
|
|
private Long auctionId;
|
|
|
|
|
|
|
|
/** 拍品名称 */
|
|
/** 拍品名称 */
|
|
|
|
|
+ @ApiModelProperty("拍品名称")
|
|
|
private String name;
|
|
private String name;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("商家id")
|
|
|
private Long merchantId;
|
|
private Long merchantId;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("商家名称")
|
|
|
private String merchantName;
|
|
private String merchantName;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("商家头像")
|
|
|
private String merchantAvatar;
|
|
private String merchantAvatar;
|
|
|
|
|
|
|
|
/** 拍品数量 */
|
|
/** 拍品数量 */
|
|
|
|
|
+ @ApiModelProperty("拍品数量")
|
|
|
private Long num;
|
|
private Long num;
|
|
|
|
|
|
|
|
/** 数量单位 */
|
|
/** 数量单位 */
|
|
|
|
|
+ @ApiModelProperty("数量单位")
|
|
|
private String unit;
|
|
private String unit;
|
|
|
|
|
|
|
|
/** 拍品图片 */
|
|
/** 拍品图片 */
|
|
|
|
|
+ @ApiModelProperty("拍品图片")
|
|
|
private String imgs;
|
|
private String imgs;
|
|
|
|
|
|
|
|
/** 轮播图片 */
|
|
/** 轮播图片 */
|
|
|
|
|
+ @ApiModelProperty("轮播图片")
|
|
|
private String carouselImgs;
|
|
private String carouselImgs;
|
|
|
|
|
|
|
|
/** 拍品介绍 */
|
|
/** 拍品介绍 */
|
|
|
|
|
+ @ApiModelProperty("拍品介绍")
|
|
|
private String detail;
|
|
private String detail;
|
|
|
|
|
|
|
|
/** 是否发布(0:未发布;1:已发布) */
|
|
/** 是否发布(0:未发布;1:已发布) */
|
|
|
|
|
+ @ApiModelProperty("是否发布(0:未发布;1:已发布)")
|
|
|
private Integer pubStatus;
|
|
private Integer pubStatus;
|
|
|
|
|
|
|
|
/** 发布时间 */
|
|
/** 发布时间 */
|
|
|
|
|
+ @ApiModelProperty("发布时间")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
@View(type = 1)
|
|
@View(type = 1)
|
|
|
private Date pubTime;
|
|
private Date pubTime;
|
|
|
|
|
|
|
|
/** 拍卖状态(Waiting:未开始;Starting:开启中;Bidding:进行中;Finished:拍卖结束;Cancelled:撤拍;Pass:流拍;Sold:成交) */
|
|
/** 拍卖状态(Waiting:未开始;Starting:开启中;Bidding:进行中;Finished:拍卖结束;Cancelled:撤拍;Pass:流拍;Sold:成交) */
|
|
|
|
|
+ @ApiModelProperty("拍卖状态(Waiting:未开始;Starting:开启中;Bidding:进行中;Finished:拍卖结束;Cancelled:撤拍;Pass:流拍;Sold:成交)")
|
|
|
private String status;
|
|
private String status;
|
|
|
|
|
|
|
|
/** 拍卖开始时间 */
|
|
/** 拍卖开始时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
+ @ApiModelProperty("拍卖开始时间")
|
|
|
private Date startTime;
|
|
private Date startTime;
|
|
|
|
|
|
|
|
/** 拍卖结束时间 */
|
|
/** 拍卖结束时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
+ @ApiModelProperty("拍卖结束时间")
|
|
|
private Date endTime;
|
|
private Date endTime;
|
|
|
|
|
|
|
|
/** 实际结束时间 */
|
|
/** 实际结束时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
+ @ApiModelProperty("实际结束时间")
|
|
|
private Date realEndTime;
|
|
private Date realEndTime;
|
|
|
|
|
|
|
|
/** 规则类型 */
|
|
/** 规则类型 */
|
|
|
|
|
+ @ApiModelProperty("规则类型:traditional_delay;标准延时,traditional_delay_v2:重置延时,traditional_delay_v3:增价拍卖")
|
|
|
private String ruleType;
|
|
private String ruleType;
|
|
|
|
|
|
|
|
/** 规则内容 */
|
|
/** 规则内容 */
|
|
|
@View(type = 1)
|
|
@View(type = 1)
|
|
|
|
|
+ @ApiModelProperty("规则内容")
|
|
|
private String ruleContent;
|
|
private String ruleContent;
|
|
|
|
|
|
|
|
/** 最新出价 */
|
|
/** 最新出价 */
|
|
|
|
|
+ @ApiModelProperty("最新出价")
|
|
|
private BigDecimal lastPrice;
|
|
private BigDecimal lastPrice;
|
|
|
|
|
|
|
|
/** 最新出价时间 */
|
|
/** 最新出价时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
+ @ApiModelProperty("最新出价时间")
|
|
|
private Date lastPriceTime;
|
|
private Date lastPriceTime;
|
|
|
|
|
|
|
|
/** 成交价 */
|
|
/** 成交价 */
|
|
|
|
|
+ @ApiModelProperty("成交价")
|
|
|
private BigDecimal dealPrice;
|
|
private BigDecimal dealPrice;
|
|
|
|
|
|
|
|
/** 成交时间 */
|
|
/** 成交时间 */
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
+ @ApiModelProperty("成交时间")
|
|
|
private Date dealTime;
|
|
private Date dealTime;
|
|
|
|
|
|
|
|
/** 成交用户id */
|
|
/** 成交用户id */
|
|
|
|
|
+ @ApiModelProperty("成交用户id")
|
|
|
private String dealAccountId;
|
|
private String dealAccountId;
|
|
|
|
|
|
|
|
/** 成交用户 */
|
|
/** 成交用户 */
|
|
|
@Sensitive(type = 1)
|
|
@Sensitive(type = 1)
|
|
|
|
|
+ @ApiModelProperty("成交用户")
|
|
|
private String dealAccount;
|
|
private String dealAccount;
|
|
|
|
|
|
|
|
/** 成交用户avatar */
|
|
/** 成交用户avatar */
|
|
|
|
|
+ @ApiModelProperty("成交用户avatar")
|
|
|
private String dealAccountavatar;
|
|
private String dealAccountavatar;
|
|
|
|
|
|
|
|
/** 已支付 */
|
|
/** 已支付 */
|
|
|
|
|
+ @ApiModelProperty("已支付")
|
|
|
private Long paid;
|
|
private Long paid;
|
|
|
|
|
|
|
|
/** 订单id */
|
|
/** 订单id */
|
|
|
|
|
+ @ApiModelProperty("订单id")
|
|
|
private String orderId;
|
|
private String orderId;
|
|
|
|
|
|
|
|
/** 出价次数 */
|
|
/** 出价次数 */
|
|
|
|
|
+ @ApiModelProperty("出价次数")
|
|
|
private Long bidCount;
|
|
private Long bidCount;
|
|
|
|
|
|
|
|
/** 出价人数 */
|
|
/** 出价人数 */
|
|
|
|
|
+ @ApiModelProperty("出价人数")
|
|
|
private Long bidPersionCount;
|
|
private Long bidPersionCount;
|
|
|
|
|
|
|
|
/** 0:未删除;1:已删除 */
|
|
/** 0:未删除;1:已删除 */
|
|
|
|
|
+ @ApiModelProperty("删除标识:0:未删除;1:已删除")
|
|
|
private Integer delFlag;
|
|
private Integer delFlag;
|
|
|
|
|
|
|
|
/** 排序 */
|
|
/** 排序 */
|
|
|
|
|
+ @ApiModelProperty("排序")
|
|
|
private Integer sort;
|
|
private Integer sort;
|
|
|
|
|
|
|
|
/** 是否是私域 0 不是 1 是 */
|
|
/** 是否是私域 0 不是 1 是 */
|
|
|
|
|
+ @ApiModelProperty("是否是私域 0 不是 1 是")
|
|
|
private Integer privateDomain;
|
|
private Integer privateDomain;
|
|
|
|
|
|
|
|
private String delayPublish;
|
|
private String delayPublish;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("是否自动续期:0、否,1、是")
|
|
|
private Integer delay;
|
|
private Integer delay;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("")
|
|
|
private BigDecimal manualReturnPoint;
|
|
private BigDecimal manualReturnPoint;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("")
|
|
|
private Long groupId;
|
|
private Long groupId;
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("是否匿名:")
|
|
|
private Integer anonymous;
|
|
private Integer anonymous;
|
|
|
|
|
|
|
|
|
|
|
|
|
private Long lotFansId;
|
|
private Long lotFansId;
|
|
|
// 保证金(元)
|
|
// 保证金(元)
|
|
|
@TableField("deposit")
|
|
@TableField("deposit")
|
|
|
|
|
+ @ApiModelProperty("保证金(元)")
|
|
|
private Long deposit;
|
|
private Long deposit;
|
|
|
// 服务费(%)
|
|
// 服务费(%)
|
|
|
@TableField("service_tariff")
|
|
@TableField("service_tariff")
|
|
|
|
|
+ @ApiModelProperty("服务费(%)")
|
|
|
private BigDecimal serviceTariff;
|
|
private BigDecimal serviceTariff;
|
|
|
-
|
|
|
|
|
|
|
+ @ApiModelProperty("中拍支付时限(小时)")
|
|
|
private Integer payTimeLimit;
|
|
private Integer payTimeLimit;
|
|
|
}
|
|
}
|