package com.reyun.saas.mob.user.domain;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name = "package_level")
public class PackageLevel {
    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 套餐名
     */
    @Column(name = "package_name")
    private String packageName;

    /**
     * 流量包
     */
    @Column(name = "track_flow")
    private Long trackFlow;

    /**
     * app数量
     */
    @Column(name = "app_num")
    private Integer appNum;

    /**
     * 价格
     */
    private Integer price;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

}
