package com.eshore.gringotts.web.domain.upload.entity;

import com.eshore.gringotts.core.Constants;
import com.eshore.gringotts.web.domain.base.entity.SimpleEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicUpdate;

/**
 * 上传文件
 *
 * @author lanyuanxiaoyao
 * @date 2024-11-21
 */
@Getter
@Setter
@ToString
@Entity
@DynamicUpdate
@Table(name = Constants.TABLE_PREFIX + "data_file")
public class DataFile extends SimpleEntity {
    private String filename;
    private Long size;
    private String md5;
    private String path;
}
