// Path: IBServer/src/main/java/org/ironbrain/utils/DateUtils.java
// public class DateUtils{
// 
//     public static String getNiceDate(long ms){
//         Date date = new Date(ms);
//         return new SimpleDateFormat("dd.MM.yyyy HH:mm:ss").format(date);
//     }
// 
//     public static String getUniqueFileName(){
//         return new SimpleDateFormat("yyyy_MM_dd__HH_mm_ss_SSS").format(new Date(System.currentTimeMillis()));
//     }
// }


import com.fasterxml.jackson.annotation.JsonIgnore;
import org.ironbrain.utils.DateUtils;
import javax.persistence.*;
    }

    public void setPort(String port) {
        this.port = port;
    }

    private String port = "9993";

    public Boolean getAdmin() {
        return admin;
    }

    public void setAdmin(Boolean admin) {
        this.admin = admin;
    }

    private Boolean admin = false;

    public long getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(long registerDate) {
        this.registerDate = registerDate;
    }

    private long registerDate = System.currentTimeMillis();

    @Transient
    public String getRegisterDateStr(){
// Path: IBServer/src/main/java/org/ironbrain/utils/DateUtils.java
// public class DateUtils{
// 
//     public static String getNiceDate(long ms){
//         Date date = new Date(ms);
//         return new SimpleDateFormat("dd.MM.yyyy HH:mm:ss").format(date);
//     }
// 
//     public static String getUniqueFileName(){
//         return new SimpleDateFormat("yyyy_MM_dd__HH_mm_ss_SSS").format(new Date(System.currentTimeMillis()));
//     }
// }


// Path: IBServer/src/main/java/org/ironbrain/core/User.java
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.ironbrain.utils.DateUtils;
import javax.persistence.*;

    }

    public void setPort(String port) {
        this.port = port;
    }

    private String port = "9993";

    public Boolean getAdmin() {
        return admin;
    }

    public void setAdmin(Boolean admin) {
        this.admin = admin;
    }

    private Boolean admin = false;

    public long getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(long registerDate) {
        this.registerDate = registerDate;
    }

    private long registerDate = System.currentTimeMillis();

    @Transient
    public String getRegisterDateStr(){
        return DateUtils.getNiceDate(registerDate);