mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-13 23:41:39 +08:00
抢购1
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
package com.cxyxiaomo.flashsale.service.model;
|
||||
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
public class PromoModel {
|
||||
|
||||
private Integer id;
|
||||
|
||||
// 秒杀活动名称
|
||||
private String promoName;
|
||||
|
||||
// 活动开始时间
|
||||
private DateTime startDate;
|
||||
|
||||
// 秒杀活动适用商品
|
||||
private Integer itemId;
|
||||
|
||||
// 秒杀活动的价格
|
||||
private BigDecimal promoPrice;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getPromoName() {
|
||||
return promoName;
|
||||
}
|
||||
|
||||
public void setPromoName(String promoName) {
|
||||
this.promoName = promoName;
|
||||
}
|
||||
|
||||
public DateTime getStartDate() {
|
||||
return startDate;
|
||||
}
|
||||
|
||||
public void setStartDate(DateTime startDate) {
|
||||
this.startDate = startDate;
|
||||
}
|
||||
|
||||
public Integer getItemId() {
|
||||
return itemId;
|
||||
}
|
||||
|
||||
public void setItemId(Integer itemId) {
|
||||
this.itemId = itemId;
|
||||
}
|
||||
|
||||
public BigDecimal getPromoPrice() {
|
||||
return promoPrice;
|
||||
}
|
||||
|
||||
public void setPromoPrice(BigDecimal promoPrice) {
|
||||
this.promoPrice = promoPrice;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user