package com.jsc.oscm.entity;


import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Data
@Table(name = "data_package")
public class DataPackage {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @Column(name = "package_name")
    private String packageName;

    @Column(name = "package_size")
    private Long packageSize;

    @Column(name = "download_url")
    private String downloadUrl;

    @Column(name = "create_time")
    private LocalDateTime createTime;
}