| package com.xzx.gc.entity; | 
|   | 
| import com.xzx.gc.util.ValidateConfig; | 
| import lombok.Data; | 
|   | 
| import javax.persistence.Id; | 
| import javax.persistence.Table; | 
| import javax.validation.constraints.NotNull; | 
| import java.util.Date; | 
| @Table(name = "core_file") | 
| @Data | 
| public class CoreFile extends BaseEntity { | 
|     @NotNull(message = "ID不能为空", groups = ValidateConfig.UPDATE.class) | 
|     @Id | 
|     private Long id; | 
|     // 文件名称 | 
|     private String name; | 
|     // 路径 | 
|     private String path; | 
|     // 业务ID | 
|     private String bizId; | 
|     // 上传人id | 
|     private Long userId; | 
|     // 创建时间 | 
|     private Date createTime; | 
|     private Long orgId; | 
|     private String bizType; | 
|      | 
|     private String fileBatchId; | 
|   | 
|     public CoreFile() { | 
|     } | 
|      | 
| } |