XMTT 6 年 前
コミット
814f88a390
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      src/main/java/com/ekexiu/project/storage/system/po/User.java

+ 3 - 0
src/main/java/com/ekexiu/project/storage/system/po/User.java

@ -4,6 +4,8 @@ import com.ekexiu.project.storage.base.po.CreateTimeSupported;
4 4
import org.jfw.apt.orm.annotation.entry.Column;
5 5
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
6 6
import org.jfw.apt.orm.annotation.entry.Table;
7
import org.jfw.apt.orm.annotation.entry.Unique;
8
import org.jfw.apt.orm.annotation.entry.Uniques;
7 9
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
8 10
import org.jfw.apt.orm.core.enums.DE;
9 11
@ -12,6 +14,7 @@ import org.jfw.apt.orm.core.enums.DE;
12 14
 */
13 15
@Table(descp = "用户表", value = "LUSER")
14 16
@PrimaryKey("id")
17
@Uniques({@Unique(clolumns = "account", name = "UC_LUSER_ACCOUNT")})
15 18
public class User implements CreateTimeSupported {
16 19
17 20
    private String id;