package models;

import java.util.List;
import play.libs.F.Option;

import play.data.*;
import play.data.validation.Constraints.*;
import javax.validation.Valid;
import play.db.ebean.*;

import javax.persistence.*;

// 文件集合，集合属性，集合中的文件列表由此处管理，便于修改快速集合属性，获取列表，进行授权
class FileCollection {
    @Required
    @Id
    public Long id;

    @Required
    @ManyToOne
    public User user;

    @Required
    public String name;

    public String[] properties;
}

@@ -257,16 +257,31 @@
 %E5%88%97%E8%A1%A8%EF%BC%8C%E8%BF%9B%E8%A1%8C%E6%8E%88%E6%9D%83%0A
+@Entity%0Apublic 
 class Fi
@@ -428,24 +428,27 @@
 g name;%0A%0A   
+ //
  public Stri

add model collection