admin
2021-02-01 c6c5a8ce0f42d46ea2fe0312c9eda67a49fd3917
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
 
}