package com.panzhihua.service_community.entity;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.io.Serializable;
|
|
import lombok.Data;
|
|
/**
|
* 电动车商城-商家活动表(ComBatteryCommodityActivity)实体类
|
*
|
* @author lyq
|
* @since 2022-03-29 13:17:39
|
*/
|
@Data
|
public class ComBatteryCommodityActivity implements Serializable {
|
private static final long serialVersionUID = -53789140646648793L;
|
/**
|
* 主键id
|
*/
|
private Long id;
|
/**
|
* 活动名称
|
*/
|
private String name;
|
/**
|
* 活动类型(1.拼团活动 2.砍价活动 3.限时秒杀)
|
*/
|
private Integer type;
|
/**
|
* 商品id
|
*/
|
private Long commodityId;
|
/**
|
* 商家id
|
*/
|
private Long storeId;
|
/**
|
* 状态(1.进行中 2.已下架 3.已结束)
|
*/
|
private Integer status;
|
/**
|
* 是否删除(1.是 2.否)
|
*/
|
private Integer isDel;
|
/**
|
* 活动价格
|
*/
|
private BigDecimal price;
|
/**
|
* 活动截止时间
|
*/
|
private Date endTime;
|
/**
|
* 拼团总团数
|
*/
|
private Integer collageNum;
|
/**
|
* 拼团人数
|
*/
|
private Integer collagePeopleNum;
|
/**
|
* 活动图片
|
*/
|
private String images;
|
/**
|
* 活动商品总数
|
*/
|
private Integer commodityNum;
|
/**
|
* 活动规则
|
*/
|
private String rule;
|
/**
|
* 创建时间
|
*/
|
private Date createAt;
|
/**
|
* 创建人id
|
*/
|
private Long createBy;
|
/**
|
* 更新时间
|
*/
|
private Date updateAt;
|
/**
|
* 更新人id
|
*/
|
private Long updateBy;
|
/**
|
* 活动商品已卖出数量
|
*/
|
private Integer commoditySaleNum;
|
/**
|
* 商品规格id
|
*/
|
private Long specsId;
|
/**
|
* 是否删除枚举(1.是 2.否)
|
*/
|
public interface IsDel{
|
int YES = 1;
|
int NO = 2;
|
}
|
/**
|
* 状态(1.进行中 2.已下架 3.已结束)
|
*/
|
public interface Status{
|
int JXZ = 1;
|
int YXJ = 2;
|
int YJS = 3;
|
}
|
|
/**
|
* 活动类型(1.拼团活动 2.砍价活动 3.限时秒杀)
|
*/
|
public interface Type{
|
int PT = 1;
|
int KJ = 2;
|
int MS = 3;
|
}
|
}
|