コード例 #1
0
        public Fields[] fields;         // Attached data to identiy

        public Identity()
        {
            id               = 0;
            app_id           = 0;
            user             = new User();
            ethereum_address = "";
            linking_code     = "";
            updated_at       = new DateData();
            created_at       = new DateData();
        }
コード例 #2
0
        public IErrorHandle ErrorStatus;    // Error handling object

        /// <summary>
        /// Constructor
        /// </summary>
        public User()
        {
            id = -1;
            activeIdentityID = -1;
            name             = string.Empty;
            email            = string.Empty;
            password         = string.Empty;
            access_token     = string.Empty;
            updated_at       = new DateData();
            created_at       = new DateData();
            ErrorStatus      = new ErrorHandler();
            //roles = new List<Roles>();
            //identities = new List<Identity>();
        }