package com.yeshi.buwan.domain.vip;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
@Document(collection = "vipPrice")
|
public class VIPPrice {
|
public enum VIPPriceType {
|
week("周会员"), month("包月"), season("包季"), year("包年");
|
|
private String name;
|
|
private VIPPriceType(String name) {
|
this.name = name;
|
}
|
}
|
|
private String id;
|
private VIPPriceType type;
|
private BigDecimal price;
|
private Date createTime;
|
private Date updateTime;
|
|
}
|