FileEntity.java 877 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.fd.entity;
  2. import com.fasterxml.jackson.annotation.JsonIgnore;
  3. import lombok.Data;
  4. import javax.persistence.Column;
  5. import javax.persistence.Entity;
  6. import javax.persistence.Table;
  7. import java.io.Serializable;
  8. /**
  9. * Created by Owen on 2019/10/28 0028 11:15
  10. */
  11. @Data
  12. @Entity
  13. @Table(name = "t_file")
  14. public class FileEntity extends BaseEntity implements Serializable {
  15. private static final long serialVersionUID = 3663614649370191338L;
  16. @Column
  17. private String fileName; // 文件名称
  18. @Column
  19. private String fileUrl; // 文件路径
  20. // @JsonIgnore
  21. // @Column
  22. // private String description; // 描述
  23. //
  24. // @JsonIgnore
  25. // @Column
  26. // private String version; // 版本
  27. @Column
  28. private String type; // 文件类型
  29. @Column
  30. private Integer status; // 状态,是否可用 1:完成, 0:未完成
  31. }